abejfehr / markdown-preview-katex

Markdown Preview with LaTeX rendering & no other dependencies!
https://atom.io/packages/markdown-preview-katex
Other
19 stars 1 forks source link

Toggling preview shows an empty tab #7

Open fikovnik opened 9 years ago

fikovnik commented 9 years ago

I installed the 0.3.4 in a fresh Atom 0.192.0 and going to "packages -> markdown preview with katex -> toggle preview" shows just a plain tab (full white) with not content inside. If I then click "toggle latex rendering" it renders the document but without math. How can find what is wrong?

abejfehr commented 9 years ago

I just tested the package and I'm getting a module version mismatch in the new Atom. Unfortunately, I have to study for finals right now so I can't look into the problem immediately, but I'll try to have this resolved as soon as possible.

Since your issue sounds different than mine: if you'd like to troubleshoot, you may find the Developer Tools helpful: View > Developer > Toggle Developer Tools. KaTeX often offers verbose messages of the position in LaTeX that causes problems. Have you tried this with very simple expressions?

abejfehr commented 9 years ago

I got my markdown-preview working again, and it seems to exhibit the behaviour that you mention when there's unsupported latex in the page. Ensure that you're using features which are supported by KaTeX, or else(unfortunately) none of the content on the page is going to be rendered. The problems with the latex aren't explicit either -- these are things I need to work on.