-
This is my first attempt to submit an issue here. I wrote a formula in markdown and printed it with this plugin.
There seems to be something wrong with the formula rendering here. Each formula will have two results in HTML. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
There are several Markdown extensions that support LaTeX like this. I tested with https://marketplace.visualstudio.com/items?itemName=mathpix.vscode-mathpix-markdown using the following markdown and got the results below. # test.md
$$\hat a={\frac{m\omega}{2\hbar}}$$ The nature of the problem is almost certainly down to incompatibility in the stylesheets injected by whatever extension you're using and the stylesheets I use. Due to a number of issues like this I plan to stop using the built-in rendering pipeline and instead load a selection of superior Markdown extensions. For example, the one I linked above also handles SMILES chemistry notation. |
Beta Was this translation helpful? Give feedback.
-
In my case, the extension responsible for rendering the LaTeX is Markdown+Math. The double rendering was resolved by adding a stylesheet reference to settings, as per the documentation which specifically describes the use of this extension. "markdown.styles": [
"https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css"
] Now this plugin is working! |
Beta Was this translation helpful? Give feedback.
In my case, the extension responsible for rendering the LaTeX is Markdown+Math. The double rendering was resolved by adding a stylesheet reference to settings, as per the documentation which specifically describes the use of this extension.
Now this plugin is working!