Comments (4)
from mermaid-mode.
Hi @haoisli9,
Thank you for reporting this.
I am not very familiar with charset issues: the problem could come from Emacs itself, the mermaid CLI, or anything in between.
I think a good first step in debugging would be to install the mermaid CLI and try to compile a diagram with Chinese characters without using Emacs.
According to this function, the command should be mmdc -i [input file] -o [output file]
.
If that command works and you're able to compile a mermaid diagram, then the problem is elsewhere.
from mermaid-mode.
from mermaid-mode.
Does mmdc have any flags to special input charset?
That's a good question. I don't know at this point. I do encourage you to try the steps I describe above and play with mmdc
directly.
from mermaid-mode.
Related Issues (17)
- Error with mermaid-open-browser HOT 7
- How to use it in org mode HOT 1
- Difference between mermaid-mode versus ob-mermaid? HOT 1
- Support for ER Diagram Syntax and Indentation HOT 1
- mermaid-mode redefines ob-mermaid org-babel-execute:mermaid HOT 1
- Add mermaid-compile-region and mermaid-open-region-in-browser HOT 3
- Insert sample diagrams via keybinding HOT 3
- On sequence diagrams, the actor keyword is not supported
- Comments not given correct face
- FYI: Configuration for running mmdc via mermaid-cli docker image HOT 3
- Consider adding file extensions to auto-mode-alist HOT 3
- auto-mode-alist regex error HOT 4
- Indentation appears after cursor on new line HOT 2
- Error Handling/reporting of diagram errors
- mermaid-mode affects indentation in git-commit-mode HOT 1
- Specify mermaid.cli flags 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 mermaid-mode.