{"id":14989064,"url":"https://github.com/zuisong/notion-kroki","last_synced_at":"2025-04-12T00:32:03.286Z","repository":{"id":43303757,"uuid":"511216933","full_name":"zuisong/notion-kroki","owner":"zuisong","description":"Render notion code block as graph by kroki(plantuml, mermaid, ...etc)","archived":false,"fork":false,"pushed_at":"2024-10-06T23:54:10.000Z","size":661,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-31T08:40:47.674Z","etag":null,"topics":["diagram-generator","kroki","notion","notion-enhancer","plantuml-diagrams","tampermonkey","tampermonkey-userscript","userscript","violentmonkey"],"latest_commit_sha":null,"homepage":"https://zuisong.notion.site/noiton-kroki-demo-7624581b1d784af49decfdc19543ed03","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zuisong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-06T16:40:39.000Z","updated_at":"2024-10-06T23:54:07.000Z","dependencies_parsed_at":"2023-02-15T10:16:32.188Z","dependency_job_id":"e25076d2-9db6-4f94-916e-792fcad0a85f","html_url":"https://github.com/zuisong/notion-kroki","commit_stats":{"total_commits":137,"total_committers":4,"mean_commits":34.25,"dds":0.04379562043795615,"last_synced_commit":"88b50fdc49ea78ba38782dcb1cbd4651d9d47b06"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuisong%2Fnotion-kroki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuisong%2Fnotion-kroki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuisong%2Fnotion-kroki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuisong%2Fnotion-kroki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zuisong","download_url":"https://codeload.github.com/zuisong/notion-kroki/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223486880,"owners_count":17153241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diagram-generator","kroki","notion","notion-enhancer","plantuml-diagrams","tampermonkey","tampermonkey-userscript","userscript","violentmonkey"],"created_at":"2024-09-24T14:17:38.896Z","updated_at":"2024-11-07T09:03:37.251Z","avatar_url":"https://github.com/zuisong.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# notion-kroki\n\n![Codecov](https://img.shields.io/codecov/c/github/zuisong/notion-kroki)\n![GitHub branch checks state](https://img.shields.io/github/checks-status/zuisong/notion-kroki/main)\n![GitHub top language](https://img.shields.io/github/languages/top/zuisong/notion-kroki)\n![GitHub last commit](https://img.shields.io/github/last-commit/zuisong/notion-kroki)\n\n## 前置条件(Pre Condition)\n\n### Make sure you have installed **Violentmonkey** or **Tampermonkey**\n\n### 在使用之前请先确保你已经在浏览器安装了脚本管理插件 **Violentmonkey** 或者 **Tampermonkey**\n\n| Browser | Violentmonkey                          | Tampermonkey                         |\n| ------- | -------------------------------------- | ------------------------------------ |\n| Chrome  | [Violentmonkey][chrome_violentmonkey]  | [Tampermonkey][chrome_tampermonkey]  |\n| Firefox | [Violentmonkey][firefox_violentmonkey] | [Tampermonkey][firefox_tampermonkey] |\n| Edge    | [Violentmonkey][edge_violentmonkey]    | [Tampermonkey][edge_tampermonkey]    |\n\n## 安装(How to install)\n\n[💥 Click me install user script 💥][install_link]\n\n[💥 点我安装脚本 💥][install_link]\n\n## Usage\n\n### 1. Add a **Plain Text** code block with content\n\n```text\n//kroki plantuml\n@startuml\nAlice -\u003e \"Bob()\" : Hello\n\"Bob()\" -\u003e \"This is very\\nlong\" as Long\n' You can also declare:\n' \"Bob()\" -\u003e Long as \"This is very\\nlong\"\nLong --\u003e \"Bob()\" : ok\n@enduml\n```\n\nPS: **first line is very important**\n\n### 2. Then, you will got like this\n\n![demo](./imgs/demo.png)\n\n[chrome_violentmonkey]: https://chrome.google.com/webstore/detail/violent-monkey/jinjaccalgkegednnccohejagnlnfdag\n[chrome_tampermonkey]: https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo\n[firefox_tampermonkey]: https://addons.mozilla.org/firefox/addon/tampermonkey/\n[firefox_violentmonkey]: https://addons.mozilla.org/firefox/addon/violentmonkey/\n[edge_tampermonkey]: https://microsoftedge.microsoft.com/addons/detail/tampermonkey/iikmkjmpaadaobahmlepeloendndfphd\n[edge_violentmonkey]: https://microsoftedge.microsoft.com/addons/detail/violentmonkey/eeagobfjdenkkddmbclomhiblgggliao\n[install_link]: https://github.com/zuisong/notion-kroki/raw/main/notion-kroki.user.js\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuisong%2Fnotion-kroki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzuisong%2Fnotion-kroki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuisong%2Fnotion-kroki/lists"}