Comments (13)
how can we enter newer mermaid diagrams such as https://mermaid-js.github.io/mermaid/#/gantt?id=syntax ?
it doesn't seem to work
gantt
dateFormat YYYY-MM-DD
title Adding GANTT diagram functionality to mermaid
section A section
Completed task :done, des1, 2014-01-06,2014-01-08
Active task :active, des2, 2014-01-09, 3d
Future task : des3, after des2, 5d
Future task2 : des4, after des3, 5d
section Critical tasks
Completed task in the critical line :crit, done, 2014-01-06,24h
Implement parser and jison :crit, done, after des1, 2d
Create tests for parser :crit, active, 3d
Future task in critical line :crit, 5d
Create tests for renderer :2d
Add to mermaid :1d
section Documentation
Describe gantt syntax :active, a1, after des1, 3d
Add gantt diagram to demo page :after a1 , 20h
Add another diagram to demo page :doc1, after a1 , 48h
section Last section
Describe gantt syntax :after doc1, 3d
Add gantt diagram to demo page :20h
Add another diagram to demo page :48h
from vscode-reveal.
Hi,
Actually it's not possible. Thank for asking.
I will add this plugin https://github.com/ludwick/reveal.js-mermaid-plugin
Maybe in Version 3
from vscode-reveal.
Not yet ...
from vscode-reveal.
Shoud be good :)
from vscode-reveal.
Can be closed no?
from vscode-reveal.
@evilz could we re-open this one ?
from vscode-reveal.
Is this already possible? Should it be reopened?
from vscode-reveal.
In case anybody's confused with the syntax this should be good:
<div class="mermaid">
graph LR;
A(AAAA)==> B(B node);
B==> C(SEE SEE);
class A diag-a-styles;
class B diag-b-styles
class C diag-c-styles;
</div>
You can find more examples in the sample
from vscode-reveal.
more complex gantt
diagrams also don't work for me, like in the case above from @rvion
from vscode-reveal.
I think the problem might be that the mermaid plug-in inside vscode-reveal is the old one?
When one plug-in depends on another and its code is copied as part of its deployment, then new features won't work until the main plugin (vscode-reveal) integrates and re-releases the newest. I saw this with other reveal plugins here (can't remember which one it was, but I managed to hack the update in my install (libs folder?) to get the feature). I think you could do the same as a workaround.
from vscode-reveal.
maybe you are right.
I should update a lot of stuff ... PR is welcome ;p
from vscode-reveal.
@evilz I think I could make the update changes, but how do you build/test this plugin normally? I'm not new to TypeScript or VSCode, but never did a VSCode plug-in. Is there a quick-start you follow?
from vscode-reveal.
@evilz OK, I got the jest
tests to pass, but it seems the extension still has the vscode
dependency. Would you agree to migrate it per this explanation?
from vscode-reveal.
Related Issues (20)
- Custom css theme loads but gets overwritten by default theme, possibly issue with z-index?
- Mermaid should respect RevealJS' theme
- Support for animate plugin HOT 1
- No syntax highlight for SPARQL and Turtle
- Use custom theme from a super folder HOT 2
- support for svg-fragment HOT 1
- Add support for copying code from markdown
- support for pandoc style class / attribute markdown
- Offline support HOT 3
- Is there a way to put an option to choose between a light and a dark theme at the start of the presentation?
- Including TOC in footer (possibly through plugin TOC-Progress)
- How do I clean up the whole page
- can not display braces`{}` in latex HOT 1
- Docs framework?
- Where do we put the `revealjs` options? HOT 1
- Parallax background transition "jumpy"
- CI/CD pipeline integration HOT 1
- Off-by-one bug in preview?
- Update revealjs to v4.6.0 HOT 1
- Allow use from the web editor
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 vscode-reveal.