Closed adamijak closed 1 year ago
There's a couple of similar requests which involve supporting some markup language inside of Typst (eg. #184)
I don't think any of these will supported as a primitive in Typst, but rather Typst will allow you to write functions that parse and render your custom Markup language.
As the language and ecosystem evolve, I think we'll move towards a system where users can import libraries which provide such functions, but we are not there yet.
We cannot integrate Mermaid into the compiler, as it is a JavaScript library. However, we are planning on providing our own diagramming / charting tools in the future and may get inspiration there.
Do you plan to support https://mermaid.js.org ? I think it might be great way to generate graphs diagrams in typst.