make the pydot syntax backwards compatible with code fences
without this, the code fence parser was getting thrown off if you didn't have the pydot extension loaded, which was thwarting backwards compatibility. this makes the pydot bits look like an attribute to the vanilla parser, so at least then the vanilla markdown renders as intended
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
test
|
||||
|
||||
~~~pydot:attack-plan
|
||||
~~~{ pydot:attack-plan }
|
||||
digraph G {
|
||||
rankdir=LR
|
||||
Earth
|
||||
@@ -13,7 +13,7 @@ digraph G {
|
||||
|
||||
more test
|
||||
|
||||
~~~pydot:new-attack-plan
|
||||
~~~{ pydot:new-attack-plan }
|
||||
digraph H {
|
||||
rankdir=LR
|
||||
Venus
|
||||
|
||||
Reference in New Issue
Block a user