Open Skeeve opened 11 months ago
What happened?
Inline macros and macros with Delims: none lead to a conflict.
Delims: none
Please find attached macroissue.md which contains the inline macro example from the README.
It also includes an SQL file macroissue.txt and since this isn't a real template Delims is set to none.
Delims
none
When you run the markdown file through mark, the {{ .title }} is not expanded.
{{ .title }}
It produces:
<table> <thead><tr><th>{{ .title }}</th></tr></thead> <tbody><tr><td> <p>and some content</p> </td></tr></tbody></table> <ac:structured-macro ac:name="code"><ac:parameter ac:name="language">SQL</ac:parameter><ac:parameter ac:name="collapse">false</ac:parameter><ac:plain-text-body><![CDATA[SELECT NOW()]]></ac:plain-text-body></ac:structured-macro>
What did you expect to happen?
{{ .title }} should have expanded to with a title.
with a title
If you remove the Delims: none, it works as expected.
How can we reproduce the behavior you experienced?
Steps to reproduce the behavior:
In case this is related to specific markdown, please provide a minimal markdown example here.
Information (please complete the following information):
Mark Version (mark --version): 9.9.0
mark --version
Mark Parameters: Set in my environment:
Confluence Version: unknown
Environment specific Information: Mac OS X
What happened?
Inline macros and macros with
Delims: none
lead to a conflict.Please find attached macroissue.md which contains the inline macro example from the README.
It also includes an SQL file macroissue.txt and since this isn't a real template
Delims
is set tonone
.When you run the markdown file through mark, the
{{ .title }}
is not expanded.It produces:
What did you expect to happen?
{{ .title }}
should have expanded towith a title
.If you remove the
Delims: none
, it works as expected.How can we reproduce the behavior you experienced?
Steps to reproduce the behavior:
In case this is related to specific markdown, please provide a minimal markdown example here.
Information (please complete the following information):
Mark Version (
mark --version
): 9.9.0Mark Parameters: Set in my environment:
Confluence Version: unknown
Environment specific Information: Mac OS X