Skip to content

Inline math mode should have an option to be enabled within source blocks #88

@bsmith-n4

Description

@bsmith-n4

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions