Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bsmith-n4 opened this issue Jan 12, 2018 · 1 comment
Assignees

Comments

@bsmith-n4
Copy link
Contributor

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
@bsmith-n4
Copy link
Contributor Author

I will workaround this using callouts, as discussed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants