I suggest you ...

GitLab Flavoured Markdown: render UML diagrams by adding 'Syntax Highlightning' for PlantUML

Taken from https://github.com/gitlabhq/gitlabhq/issues/9550, but this is just what I need:

"
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

"

54 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Joan Queralt Molina shared this idea  ·   ·  Admin →

    10 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base