Unfortunately using it with a newline before the first argument seems to break this extension's syntax highlighting:
Here's the test file as text:
:: Test convo
[[Outside macro 0|Choice0]]
[[Outside macro 1|Choice1]]
[[Outside macro 2|Choice2]]
<<ConversationChoices [[Inside macro no newline 0|Choice0]]
[[Inside macro no newline 1|Choice1]]
[[Inside macro no newline 2|Choice2]]
>>
<<ConversationChoices
[[Inside macro w/ newline 0|Choice0]]
[[Inside macro w/ newline 1|Choice1]]
[[Inside macro w/ newline 2|Choice2]]
>>
<<ConversationChoices [[Inside macro no newline with ' 0|Choice0]]
[[Inside macro no newline with ' 1|Choice1]]
[[Inside macro no newline with ' 2|Choice2]]
>>
<<ConversationChoices
[[Inside macro w/ newline with ' 0|Choice0]]
[[Inside macro w/ newline with ' 1|Choice1]]
[[Inside macro w/ newline with ' 2|Choice2]]
>>
:: Choice0
:: Choice1
:: Choice2
In the actual project, the syntax highlighting gets more and more broken after a few instances of using the macro with a link description that contains an apostrophe.
I'm working on a SugarCube2-based project with a macro for conversation choices that takes passage links as its arguments:
Unfortunately using it with a newline before the first argument seems to break this extension's syntax highlighting:
Here's the test file as text:
In the actual project, the syntax highlighting gets more and more broken after a few instances of using the macro with a link description that contains an apostrophe.
Could you take a look?