Open zxteloiv opened 8 years ago
take a sample.md file with the below content
sample.md
every $\beta_i$ under the basis $\alpha_1,\dots,\alpha_n$ have coordinate: $$\begin{pmatrix} c_{1i} \\ c_{2i} \\ ... \\ c_{ni} \end{pmatrix}$$ transition matrix: $C=(C_{ij})_{n\times n}$
using kramed 0.5.5 we get
$ ./bin/kramed ../../tmp/sample.md <p>every $\beta<em>i$ under the basis $\alpha_1,\dots,\alpha_n$ have coordinate: $$\begin{pmatrix} c</em>{1i} \ c<em>{2i} \ ... \ c</em>{ni} \end{pmatrix}$$ transition matrix: $C=(C<em>{ij})</em>{n\times n}$</p>
using kramdown 1.5 we get
$ kramdown sample.md <p>every $\beta_i$ under the basis $\alpha_1,\dots,\alpha_n$ have coordinate: <script type="math/tex">\begin{pmatrix} c_{1i} \\ c_{2i} \\ ... \\ c_{ni} \end{pmatrix}</script> transition matrix: $C=(C_{ij})_{n\times n}$</p>
I could rewrite the $$ block in a new line instead but I do need some inline function. Hope this could be fixed.
take a
sample.md
file with the below contentusing kramed 0.5.5 we get
using kramdown 1.5 we get
I could rewrite the $$ block in a new line instead but I do need some inline function. Hope this could be fixed.