Fractive is a free, open-source, Markdown-based hypertext authoring tool for writing interactive fiction.
37
stars
5
forks
source link
Variable macros expanded inside of code sections shouldn't interrupt the formatting #76
Open
NQNStudios opened 6 years ago
What happened
While writing a new example for PR #75, I discovered that the following Markdown pattern yields ugly results:
What the result looks like, is three separate code blocks, the middle one containing the contents of
variableMacro
.Steps to reproduce
Set up a story with Markdown as above, or simply pull #75 and run the
linear
example.Expected behavior
I had expected the variable to be inserted inside the existing code block, not to interrupt it and cause a visual separation.