Working with SuperFences
#149
-
It seems I can't get In the YAML I have this:
Yet for this code fence:
I get: Namely it doesn't yield any custom fence. Here are the files to reproduce: Another issue I saw, in case my user settings of MarkDown Preview is empty (Namely only: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
Did it work with the original example I gave using the old UML format? Is so, there shouldn't be much of a difference. What could be happening though I'd that the JS script isn't working like you think. You are using a div output for the custom fences, so it should just look like normal text until the JS loader transforms it. |
Beta Was this translation helpful? Give feedback.
-
OK, It seems documentation is wrong. Yet, in MarkDown Preview, the default config file configures custom fences as following: Hence I tried:
Which works (By the way, Hence I suggest updating the documentation. |
Beta Was this translation helpful? Give feedback.
-
Mermaid support is now available on |
Beta Was this translation helpful? Give feedback.
Mermaid support is now available on
master
and will be in the next release. By default, the SuperFence option will be in the settings, but a user will need to add the mermaid script and mermaid configuration to the Sublime Text settings file or the YAML frontmatter.