Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kroki for embedded diagrams #8

Closed
michael-fuchs opened this issue Nov 7, 2022 · 0 comments
Closed

kroki for embedded diagrams #8

michael-fuchs opened this issue Nov 7, 2022 · 0 comments
Labels

Comments

@michael-fuchs
Copy link
Contributor

https://kroki.io/ is a service to render diagrams from text. It's a HTTP interface to a number of tools like plantUML. It's also available as OS docker container for self hosting.

The markdown code-blocks can be used for embedded diagrams. When the markdown is rendered kroki is called on the content of such code blocks to render svg-diagrams. The svg-diagrams are inlined into the output html.

Within markdown the type of the diagram is defined at the "language" level, e.g. "diagram-plantuml". The string after "diagram-" has to match the kroki diagram id.

  ```diagram-plantuml
  <some  plantuml markup>
   \```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant