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

How to invoke mathjax? #205

Closed
flossgeek opened this issue Apr 17, 2022 · 5 comments
Closed

How to invoke mathjax? #205

flossgeek opened this issue Apr 17, 2022 · 5 comments

Comments

@flossgeek
Copy link

flossgeek commented Apr 17, 2022

I have let g:instant_markdown_mathjax = 1 set in my .vimrc file. However, I can't manage to trigger mathjax formatting. Both \(...\) and $$...$$ are without any result. How do I tackle this?

@ashwinvis
Copy link
Collaborator

Can you follow https://github.com/instant-markdown/vim-instant-markdown/blob/master/.github/ISSUE_TEMPLATE.md to understand your problem better?

@flossgeek
Copy link
Author

Well, I think I found the problem already. I was first using the smdv python server, which had some quirks. Now I'm using the npm package of instant-markdown-d, which works much better and math is also displayed correctly.
Any clue on why smdv doesn't work? Is it not as well supported as instant-markdown-d?

@ashwinvis
Copy link
Collaborator

smdv relies on pandoc. You can check if it is available in your machine.

@flossgeek
Copy link
Author

Yes, exactly. Pandoc is installed on my machine (by the package manager), but formulas aren't rendered as with the instant-markdown-d server.

@ashwinvis
Copy link
Collaborator

Strange. Perhaps smdv's pandoc call is missing some flags. I would recommend sorting this out at smdv's issue tracker.

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