In my current Asciidoctor document I have an atribute that I want to use in a codeblock. Is there a way to do String interpolation in a codeblock?
Attribute in header..
:api_version: 1.0
Codeblock
{
"api_version" : "{api_version}",
}
I seem unable to do String replacement, any hints or tips to do String replacement in code block?