mikitex70 / plantuml-markdown

PlantUML plugin for Python-Markdown
BSD 2-Clause "Simplified" License
192 stars 55 forks source link

Fix regular expression #4

Closed miyajan closed 7 years ago

miyajan commented 7 years ago

In v1.1.0, the syntax is broken by https://github.com/mikitex70/plantuml-markdown/commit/7e10328e20a843a4f22ebebd243a8ffee7aa2933 .

Three backticks are required at the beginning like the following.

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



I removed them because it is confusing with code blocks.

Please tell me if you have any reasons for three backticks.
mikitex70 commented 7 years ago

Hi miyajan, thanks for the patch. When I started the plugin I've used the codehilight plugin as an example, and the backticks comes from there. You are right, there are no reason for them. Thanks for pointing it out.