DF-Wiki / DFDiagram

A Mediawiki extension to create DF-style diagrams
2 stars 1 forks source link

Add variables #5

Closed lethosor closed 11 years ago

lethosor commented 11 years ago

For example:

[$row1=....]
[$row2=,,,,]
[$row1]
[$row2][$row1]

would produce:

....
,,,,....

Ideally this should parse out leading/trailing newlines (for better readability), so these would be equivalent:

[$a=x]
[$a=
x]
[$a=
x
]
lethosor commented 11 years ago

Done in 2012a6d9c38175bff2e247d84a9477ae53b517ac, but it could use a little work.

lethosor commented 11 years ago

Note that blank lines are now ignored, even without variable declarations.