There are some use cases where it is required that source blocks contain LaTeX math. Math functionality within source blocks was disabled by choice due to the prevalence of dollar symbols in shell listings, e.g.;
guest@linux:~$ echo $HOME
Asciidoctor has some conventions for applying substitutions within blocks which may be a good idea to follow. From what I understand there, the context for the block would be to allow the subs="quotes" attribute, e.g.;
[source,subs="quotes"]
let $M_{all}$ = $E'$.events
There are some use cases where it is required that
sourceblocks contain LaTeX math. Math functionality within source blocks was disabled by choice due to the prevalence of dollar symbols in shell listings, e.g.;Asciidoctor has some conventions for applying substitutions within blocks which may be a good idea to follow. From what I understand there, the context for the block would be to allow the
subs="quotes"attribute, e.g.;