[ ] Add a new theme witiko/diagrams that will load the theme witiko/dot.
[ ] Make it possible to combine raw attributes such as {=dot} and regular attributes such as {caption="Caption text"} into ``` {=dot caption="Caption text"} when both options rawAttribute and fencedCodeAttributes are enabled.
[ ] Only make version v1 of the theme witiko/diagrams load the theme witiko/dot and make the latest version:
Support the syntax ``` {.dot caption="Caption text"}, ``` {=dot caption="Caption text"}, and ``` dot {caption="Caption text"} in addition to ``` dot Caption text.
Support the syntax ``` {.dot} and ``` {=dot} in addition to ``` dot.
Support other diagram tools like Mermaid (see also #448), PlantUML, and TikZ.
While PRs https://github.com/Witiko/markdown/pull/521 and https://github.com/Witiko/markdown/pull/529 implemented the major parts of MEP https://github.com/Witiko/markdown/discussions/514, it has not implemented the main motivating examples for the MEP: a new built-in theme for drawing diagrams.
A PR that closes this ticket and the MEP https://github.com/Witiko/markdown/discussions/514 should complete the following tasks:
witiko/diagrams
that will load the themewitiko/dot
.{=dot}
and regular attributes such as{caption="Caption text"}
into``` {=dot caption="Caption text"}
when both optionsrawAttribute
andfencedCodeAttributes
are enabled.v1
of the themewitiko/diagrams
load the themewitiko/dot
and make the latest version:``` {.dot caption="Caption text"}
,``` {=dot caption="Caption text"}
, and``` dot {caption="Caption text"}
in addition to``` dot Caption text
.``` {.dot}
and``` {=dot}
in addition to``` dot
.