Learn to write equations in Markdown and convert it to docx format

Prepare system

Download and install

  1. Any text editor
    1. visualstudiocode Download link recommended
    2. markdownedit Download link alternative to visualstudiocode
    3. Or simply type in any text editor notepad or vim

Equations must be enclosed by $ sign or $$

  1. enclose formulas in single dollar sign $ your equation $ for inline equations.
  2. enclose formulas in double dollar sign $$ your equation $$ for equation environment and start with new line.











Powers Output





simple () are not because brackets done resize to cover content like below $(\frac{a}{b)$
so use \left( and \right) BracketsOutput $\left($


$\left( a \right)$



$\left[ a \right\$


  1. now save this as “anyfilename.md”

  2. run command in the same folder as

    pandoc anyfilename.md -o anyfilename.docx

    check anyfilename.docx in the directory

Test formulas