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

Add preview_as_code option to mathjax engine #372

wants to merge 1 commit into from


Copy link

@qwtel qwtel commented Sep 30, 2016

Adds a preview_as_code option to the mathjax engine.

When true, wraps LaTeX previews in code / pre > code tags instead of span / div tags, mirroring the structure of inline code / code blocks. This ensures the content is styled like regular code and improves legibility in RSS readers like feedly or text browsers like lynx, etc.

See in action:
Preview latex code

@gettalong gettalong self-assigned this Nov 13, 2016
Copy link

@gettalong gettalong commented Nov 13, 2016

@qwtel Thanks for the pull request - this will be in the next release!


@gettalong gettalong closed this Nov 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants