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

Enabling plantuml preprocessor seem to conflict with mathjax? #15

Closed
fulara opened this issue Dec 3, 2019 · 2 comments
Closed

Enabling plantuml preprocessor seem to conflict with mathjax? #15

fulara opened this issue Dec 3, 2019 · 2 comments

Comments

@fulara
Copy link

fulara commented Dec 3, 2019

After i enable plantuml by:

[preprocessor.plantuml]
plantuml-cmd="java -jar /home/fulara/for_others/plantuml.jar"

some snippets from mdbook mathjax no longer works specifically: https://github.com/rust-lang/mdBook/blob/master/book-example/src/format/mathjax.md
example:

\\( \int x dx = \frac{x^2}{2} + C \\)

No longer renders when plantuml is enabled.
but when using begin/end cases it still works.

This probably seems like my configuration issue but I am not 100% sure.

@sytsereitsma
Copy link
Owner

Strange. The preprocessor should only touch/replace the plantuml markdown blocks, it does not inject any js stuff and does not do client side rendering. Could be a bug in the library I use to parse the markdown.
Will have a look

@sytsereitsma
Copy link
Owner

Fixed with v0.6.0-beta

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

No branches or pull requests

2 participants