There doesn't appear to be a way to have variables (attributes, substitutions) parsed within literal text in Asciidoc, or else I'm missing something. I want to be able to set a variable and then call it inside a code block or literal string as such:
:version: 1.0.1
[code]
----
tar -xzvf mysoftware-{version}.tar.gz
----
And have it parse to:
tar -xzvf mysoftware-1.0.1.tar.gz
This can't be impossible, right?