NppMarkdownPanel icon indicating copy to clipboard operation
NppMarkdownPanel copied to clipboard

Mathematical Expressions

Open SquidXTV opened this issue 5 months ago • 3 comments

Add support for mathematical expressions in Markdown using LaTeX formatting similar to GitHub's support. It uses MathJax JavaScript library for this support.

SquidXTV avatar Aug 02 '25 12:08 SquidXTV

For example this:

$64 \cdot n \cdot \log_{10}(n)$

renders as: $64 \cdot n \cdot \log_{10}(n)$

SquidXTV avatar Aug 02 '25 12:08 SquidXTV

+1 I would really like this functionality too! For the time being, you could use MathML: https://developer.mozilla.org/en-US/docs/Web/MathML which renders fine in the preview.

Example:

<math display="block">
  <mi>E</mi>
  <mo>=</mo>
  <mi>m</mi>
  <msup>
    <mi>c</mi>
    <mn>2</mn>
  </msup>
</math>

nl112358 avatar Oct 02 '25 07:10 nl112358

You can use MathJax. Please have a look at the following example: Test-MD-TeX2jax

mohzy83 avatar Nov 10 '25 10:11 mohzy83