There seems to be no way for variables (attributes, substitutions) to be parsed in literal text in Asciidoc, otherwise I'm missing something. I want to be able to set a variable and then call it inside a block of code or a literal string as such:
:version: 1.0.1 [code] ---- tar -xzvf mysoftware-{version}.tar.gz ----
And analyze it:
tar -xzvf mysoftware-1.0.1.tar.gz
It can't be impossible, right?
asciidoc
Brian d
source share