Comments (2)
I saw the same behavior with non-standard shapes. It looks like this is possible without any code changes though.
Testing locally with the draw.io CLI arguments, I was able to get the shapes showing by passing --embed-svg-images
.
You have the ability to pass additional arguments to the exporter via the MkDocs config, which get added to the underlying command.
plugins:
- drawio-exporter:
format: svg
drawio_args: [--embed-svg-images]
Hope that helps @stoney95.
from mkdocs-drawio-exporter.
Not right now, but this is a great enhancement request 🙂
I can't commit to ETAs right now as I'm not actively using this plugin but I will keep the issue open in case I or someone else has a go at implementing it.
from mkdocs-drawio-exporter.
Related Issues (20)
- Draw.io is now Diagrams.net HOT 2
- Not possible to run within Docker
- Don't attempt copy of cache file if export was unsuccessful HOT 1
- Consider implementing headless exports to remove Electron dependency HOT 1
- Deprecation warning when converting Draw.io images to svgs HOT 4
- Not able to find draw.io.exe HOT 11
- Using an <object> tag in created svg HOT 2
- Does not work github pages HOT 1
- Can't parse filenames with spaces HOT 1
- Errors when using plugin in Github Actions HOT 1
- Github Actions HOT 1
- Error while exporting image
- Drawio source duplicated in build directory
- No Output file
- `warn` => `warning`
- Alt-Text from draw.io document text HOT 4
- Declare the plugin breaks mkdocs HOT 2
- Empty document crashes build HOT 2
- Redesign the caching to be 'static assets' somehow? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mkdocs-drawio-exporter.