Comments (7)
from mermaid-filter.
Related; which mermaid version is this package supposed to work with? The original mermaid CLI is deprecated in favor of the mermaid.cli package, which installs mmdc/mmdc.cmd, but hasn't the same arguments (as far as I know).
from mermaid-filter.
sorry for the late answer
i am on os x
i tried to exchange the cmd variable within the index.js to
var cmd = externalTool("/usr/local/bin/mmdc") + " -v -e " + phantomjs.path;
but it does not work because the arguments are different but i don't know the meaning of the old arguments so it is difficult to translate further.
for now i use the pandoc-mermaid filter, but that works only works for html
from mermaid-filter.
from mermaid-filter.
I've just pushed a commit that should address this. Can you install again and see if it works for you?
from mermaid-filter.
Thanks! That worked out. Just FYI; I submitted a PR for PDF support in mermaid.cli that was merged recently. I'm also currently working on SVG->EMF conversion via Inkscape so that it will be possible to import the diagrams as vector graphic in docx (Word < 2016). Word 2016 supports SVG as far as I know, but our corp hasn't upgraded yet.
from mermaid-filter.
perfect thanks!
from mermaid-filter.
Related Issues (20)
- list of options? HOT 1
- can we place nodes relative to each other? HOT 1
- Publishing a new NPM release HOT 1
- Please upgrade to mermaid-cli v9 HOT 4
- Allow embedding `svg` directly into the HTML document HOT 1
- DeprecationWarning: Buffer() is deprecated
- Google slides fail to show mermaid images embeded on pptx using mermaid-filter HOT 1
- Need to install librsvg on Mac to use SVG format HOT 1
- fantastic news, sequenceDiagram working with Chinese characters too.
- Mermaid Ink Save Path Option
- I am having trouble getting the filter to work HOT 1
- [Feature request/minor bug] Allow mermaid-filter to work with Bun? HOT 1
- internal syntax error HOT 1
- Hidden graph nodes
- After fresh install, it does not work HOT 3
- pandoc-crossref cannot recognize fig id of mermaid HOT 1
- npm WARN deprecated [email protected]: < 21.5.0 is no longer supported HOT 1
- Set meta-data from command-line? HOT 1
- PNG width not working
- fontawesome not working in SVG
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 mermaid-filter.