zuisong / docsify-kroki Goto Github PK
View Code? Open in Web Editor NEWA docsify plugin to render graph like plantuml, mermaid, ..etc
Home Page: https://zuisong.github.io/docsify-kroki/
License: MIT License
A docsify plugin to render graph like plantuml, mermaid, ..etc
Home Page: https://zuisong.github.io/docsify-kroki/
License: MIT License
Hi, I'm once again here to request an additional feature.
Would it be possible to allow diagrams resizing similarly to what we can do with normal images (docs)?
It would be great if we could have something like this:
![kroki-excalidraw](path/to/diagram.json ':size=60%')
Thanks :)
It seems that this plugins lacks support for some kroki diagram types:
(see list at https://kroki.io/#support)
can you add support for these diagram types as well?
Thanks in advance! That's a really useful plugin :)
Error handling response: TypeError: Cannot read properties of null (reading 'appendChild') at
Hi, I was trying to load an excalidraw diagram (tried using both embedded and external files), but I get this error from kroki because the URI is too long:
Error 414: The request URI's length exceeds 4096. You can update this value by setting KROKI_MAX_URI_LENGTH environment variable. Please read: https://docs.kroki.io/kroki/setup/configuration/#_max_uri_length for more information.
According to yuzutech/kroki-go#11, a possible solution would be to use POST
requests for longer payloads.
To give you a reference, your excalidraw test is 16KB/695 lines
long and it works fine, while mine is 33KB/1483 lines
.
Hello, thank you for your work on this plugin.
I was wondering if it would be possible to load a diagram from an external file instead of embedding it directly in the markdown file.
Some diagram languages are short and human readable and fits well to be written inline. Others, like excalidraw
for example, are quite long and they would make the documentation hard to edit.
It would be nice if instead of doing this
Foo
\```excalidraw
[Very long diagram code]
\```
Bar
We could do something like this:
Foo
![excalidraw](path/to/diagram.json)
Bar
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.