Fixing MarkDown LaTeX underscore problem
2017-10-04 ( 2021-07-19)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.
UPDATE 2021-07-19
WARN 2021/07/19 12:38:55 Markup type mmark is deprecated and will be removed in a future release.
Without the line markup = "mmark"
everything is fine. Default = goldmark
.