Re: skipping reference to missing attribute
Posted by
halol on
Feb 28, 2020; 8:41am
URL: https://discuss.asciidoctor.org/skipping-reference-to-missing-attribute-tp7687p7700.html
Thank you both for your replies.
Escaping the shell variable is indeed what I need, and I now feel a bit dumb for not thinking about it before. Specially since I have been struggling with the opposite problem: attributes being escaped when I don't want them to be.
For example:
:folder_name: Path
[source,shell,subs=attributes+]
----
D:\Windows\{folder_name}
----
Which very obviously doesn't produce the expected results. That should have given me the solution to my current problem!
And I take good note of the comment regarding subs=attributes.
Thanks again.