konghayao / docsify-drawio Goto Github PK
View Code? Open in Web Editor NEWThis is a docsify plugin that can convert drawio xml Data to a picture in your docs.
License: MIT License
This is a docsify plugin that can convert drawio xml Data to a picture in your docs.
License: MIT License
如果 drawio 有数学公式的话, 通过您提供的方法插入到docsify 并不会显示数学公式, 可以有什么解决方法吗 谢谢
首先作者想法确实挺好的,确实可以减少很多的存储空间👍
但是:
我本来是通过drawio生成svg后导入使用,在docsify插件列表中看到这款插件尝试了下,发现通过插件实现的渲染并不能支持zoom-image的图片预览功能
the style of rounded rectangle is
rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;gradientColor=#7ea6e0;
The error msg:
viewer.min.js:3953
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at Function.GraphViewer.createViewerForElement (viewer.min.js:3955:110)
at viewer.min.js:3953:149
at Object.forEach (viewer.min.js:235:512)
at Function.GraphViewer.processElements (viewer.min.js:3953:49)
at drawio.js:45:36
at a (docsify.min.js:1:21660)
at V (docsify.min.js:1:21698)
at r (docsify.min.js:1:104699)
at docsify.min.js:1:104769
我在本地把文件放到文件夹下,渲染不生效
I'm trying to generate a diagram based on a XML exported from draw.io but I'm getting the following error.
viewer.min.js:3125 GET https://app.diagrams.net/math/MathJax.js?config=TeX-MML-AM_SVG-full net::ERR_ABORTED 404
Thanks for your work.
If I open a compressed file, it does not work.
If I open an uncompressed file, it gives error: JSON.parse: unterminated string at line 1 column 180 of the JSON data
BUT, if I edit the first line of the file from:
<mxfile host="Electron" modified="2021-12-07T12:20:14.136Z" compressed="false" agent="5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/15.8.7 Chrome/91.0.4472.164 Electron/13.6.2 Safari/537.36" version="15.8.7" etag="8210kuws28tPRYDJH6_n" type="device">
To:
<mxfile>
it displays the file without problems.
Again, thank you for your work.
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.