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

Can't get latex formula to display on html file #6

Closed
PedroVSCoimbra opened this issue Sep 8, 2020 · 1 comment
Closed

Can't get latex formula to display on html file #6

PedroVSCoimbra opened this issue Sep 8, 2020 · 1 comment
Assignees

Comments

@PedroVSCoimbra
Copy link

I'm able to get latex formula using the vimwiki syntax, but when I use vimwiki_markdown and markdown syntax the equations don not show up. Is it possible to get them using this converter?

@WnP WnP self-assigned this Sep 11, 2020
@WnP
Copy link
Owner

WnP commented Sep 14, 2020

@PedroVSCoimbra vimwiki use MathJax to render formula as SVG, so you just need to add MathJax requirements in you html header section:

<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>

See vimwiki documentation to change the default template.

See MathJax documentation if you want more information about MathJax.

I'm closing this issue since it's up to you to activate this feature, feel free to reopen if you have more question.

@WnP WnP closed this as completed Sep 14, 2020
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