Skip to content

Conversation

mikitex70
Copy link

Added plugin for using PlantUML diagrams with Markdown.
Syntax:

::uml:: [format="png|svg"] [classes="class1 class2 ..."] [alt="text for alt"]
PlantUML script diagram
::end-uml::

Example:

::uml:: format="png" classes="uml myDiagram" alt="My super diagram"
Goofy -> MickeyMouse: calls
Goofy <-- MickeyMouse: responds
::end-uml::

See the plugin for detailed usage and installation of required tools.

Added plugin for using PlantUML diagrams with Markdown.
Syntax:

::uml:: [format="png|svg"] [classes="class1 class2 ..."] [alt="text for
alt"]
    PlantUML script diagram
::end-uml::

Example:

::uml:: format="png" classes="uml myDiagram" alt="My super diagram"
    Goofy ->  MickeyMouse: calls
    Goofy <-- MickeyMouse: responds
::end-uml::

See the plugin for detailed usage and installation of required tools.
@coveralls
Copy link

Coverage Status

Coverage decreased (-2.5%) when pulling 6c6794b on mikitex70:master into 99fe8e2 on waylan:master.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to be compatible with Python 3:

except Exception as exc:

@mitya57
Copy link
Collaborator

mitya57 commented Dec 14, 2014

Why does this need to be in Python-Markdown? Can it be a third-party extension instead?

If you create a separate repository for it, we can add it to the list of known extensions in the wiki.

@waylan
Copy link
Member

waylan commented Dec 14, 2014

@mikitex70 thanks for contribution. However, I agree with @mitya57, this should be a third party extension. I would suggest creating your own repo, push this extension to it, and add it to the list. The wiki is publicly editable, so feel free to add it yourself.

@waylan waylan closed this Dec 14, 2014
@mikitex70
Copy link
Author

Sorry, I'm new to the Python Markdown code (and Python also). I've developed the plugin for Pelican RST syntax and someone has requeste me also a Markdown version. So I've thinked this was the best place where to put it.
I will make a third party extension and register to the wiki.
Thanks for your support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants