GitLab Flavoured Markdown: render UML diagrams by adding 'Syntax Highlightning' for PlantUML
Created by: janklostermann
now
there is syntax highlightning for some languages (Ruby, Python, etc.) using
'''language
code
'''
(using apostrophes for the backticks here)
wanted
to add PlantUML to the languages
to gain:
'''plantuml
for code fencing
-> with the difference that the output is not a beautified code, but a UML diagram. The PlantUML text (http://plantuml.com/PlantUML_Language_Reference_Guide.pdf) is replaced by the UML diagram's graphic.
expected result
getting the power of UML inside the markdown documents without the cost of unmaintainable inserted graphics
how
replacing the pygments highlightner by the PlantUML renderer in case of 'plantuml' as language