Fixing MarkDown LaTeX underscore problem · DL Ferrario's Test Web Page

Fixing MarkDown LaTeX underscore problem

How to fix Markdown underscore with LaTeX problem?

Test of a displaystyle formula \( A_k^n = \dfrac{n!}{k!(n-k)!} = \dfrac{n (n-1) \ldots (n-j) \ldots (n-k+1)}{ 1 \ldots j \ldots (k-1) \cdot k } = \dfrac{\prod_ {j=1}^k (n-j+1) }{ \prod_ {j=1}^k j } \)

And the same for an inline sum: $\sum_j j^2$.

The answer is: in the preamble

markup = "mmark"

and then just use

$$ .. $$ 
or 
$ ..  $

apparently.