Hi, I'm using pandoc 1.22 in combination with pandoc--eqnos 2.5.0. I edit my Markdown files in VSCodium 1.68, and make use of the Markdown Preview Enhanced 0.6.3 and Markdown All in One 3.5.0 plugins.
When compiling and previewing Markdown in VSCodium, my equation numbers are consistently pushed to the next line, like so:
When I manually (in the browser) set the CSS property .MathJax_display { display: inline-block; width: 90%; }, that fixes the overflow, and the equation numbers come onto the same level:
In the latter case, when manually running pandoc, the equation appears to have an mjx-container class instead:
This solution is quite round-about, and extra effort, for something that should work out-of-the-box in this package. It took me a long time to find it, and I am certain others are running into this.
Could you please look into ensuring the correct default behaviour, or help me find a different way of doing achieving this result?
Also, why is the HTML MathJax output different in the case of VSCodium, versus pandoc in the terminal?
Hi, I'm using pandoc 1.22 in combination with pandoc--eqnos 2.5.0. I edit my Markdown files in VSCodium 1.68, and make use of the Markdown Preview Enhanced 0.6.3 and Markdown All in One 3.5.0 plugins.
When compiling and previewing Markdown in VSCodium, my equation numbers are consistently pushed to the next line, like so:
VSCodium uses the following pandoc command:
However, when I use the following, similar command, to compile an html file:
Then, I get the following output in the browser:
I examined the HTML and it seems that in the former case the equation is encased in a div:
When I manually (in the browser) set the CSS property .MathJax_display { display: inline-block; width: 90%; }, that fixes the overflow, and the equation numbers come onto the same level:
In the latter case, when manually running pandoc, the equation appears to have an mjx-container class instead:
And then the problem does not show up, as you can see in the second image.
Inserting the following code at the the top of my markdown file fixes this behaviour by putting the equation numbers on the same level:
This solution is quite round-about, and extra effort, for something that should work out-of-the-box in this package. It took me a long time to find it, and I am certain others are running into this.
Could you please look into ensuring the correct default behaviour, or help me find a different way of doing achieving this result?
Also, why is the HTML MathJax output different in the case of VSCodium, versus pandoc in the terminal?
Kind regards, Edekje