Comments (2)
It looks like mermaidjs update doesn't allow dots inside inline strings anymore:
This doesn't work
/// ```mermaid
/// graph LR
/// s([Source]) --> a[[aquamarine]]
/// r[[rustdoc]] --> f([Docs w/ Mermaid!])
/// subgraph rustc[Rust Compiler]
/// a -. inject mermaid.js .-> r
/// end
/// ```
///
ERROR : Error parsing Error: Lexical error on line 5. Unrecognized text.
... a -. inject mermaid.js .-> r end
This works
/// ```mermaid
/// graph LR
/// s([Source]) --> a[[aquamarine]]
/// r[[rustdoc]] --> f([Docs w/ Mermaid!])
/// subgraph rustc[Rust Compiler]
/// a -. "inject mermaid.js" .-> r
/// end
/// ```
///
I'll update the demo examples with a fix, but otherwise there doesn't seem to be a bug to fix, it's just the mermaid definitions that are broken
from aquamarine.
Fixed in 0.3.3
from aquamarine.
Related Issues (20)
- Minimal compiler version is wrong HOT 2
- Symbol hyperlinks HOT 5
- Support for `include_str`? HOT 3
- How we integrated mermaid with our docs HOT 1
- Mermaid code blocks break rendering of footnotes HOT 2
- Not rendering anything besides very simple diagrams
- fetching remote mermaid.js HOT 3
- Bump Mermaid JS HOT 2
- Leftmost part of the graph not visible sometimes HOT 7
- Use in root crate docs aka `//!` HOT 1
- Aquamarine v0.3.0 always fetching remote HOT 1
- Review port to mermaid v10 HOT 7
- Creates `target/doc` in the wrong directory HOT 4
- Windows build is broken
- Embed mermaid JS Code as base64 data-stream HOT 2
- Move away from `proc-macro-error` HOT 1
- Document/Improve include_mmd! file reading and panic message HOT 1
- Why is version 0.4.0 yanked? HOT 5
- Diagrams do not work for re-exports
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 aquamarine.