-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: accept markdown format like this: ```mermaid (also plantuml in the similar format) #13
Comments
This particular "dita-ot-diagrams-plugin" plugin adds xslt processing which matches the DITA XML "foreign" element with various output class values and produces the diagrams from it. When you have Markdown content referenced in a DITA Map, the DITA Open Toolkit has a pre-installed plugin: I tried this experiment:
So the "org.lwdita" plugin converts the plantuml embedded content to a DITA XML codeblock with a certain @outputclass attribute value. But my plugin matches "foreign" with a certain @outputclass value.
could be replaced with:
so that it also matches codeblocks with a certain outputclass value. |
I am unsure whether this request should be filed with https://github.com/vsch/flexmark-java or this project. The feature requested is to enable support for Mermaid, and PlantUML in the github/gitlab format.
Sample PlantUML/Kroki/Mermaid codes can be found in this gitlab link.
This request is not because I dislike the
<foreign>
tag, but rather because having the ability to render diagrams on github/gitlab is crucial for workflows based on their features.For comparison, examples of using
<foreign>
versus using the github format are here:Using github format:
https://github.com/TokenScript/documents/blob/6604b1453c7845ddf84aa475928a261290c56893/src/usecase/guide/air.cab.md#instantiation-process
Using
<foreign>
format:https://github.com/TokenScript/documents/blob/50d775de825502a2a42f6a0da7115ebc5c152a73/src/usecase/guide/air.cab.md#instantiation-process
The text was updated successfully, but these errors were encountered: