CoCalc Public Filesscratch / markdown-latex-issues.ipynbOpen with one click!
Author: Harald Schilly
Views : 76
Compute Environment: Ubuntu 18.04 (Deprecated)

Problematic Latex Parsing

This worksheet demonstrates problematic aspects of parsing html/markdown.

Dollar in Code

This is from a section explaining R code.


use `$`, e.g. `table(people$sex)`

ends up as

use $, e.g. table(people$sex)

Dollars in indented "code"

These $ should be ignored $.

This works, though

These `$` should be ignored `$`.

But without indentation, this text

And without indention: `$` and `$`.

ends up as

And without indention: $ and $.

Dollar in HTML / 1

The class=... attribute should be ignored, but instead the whole text in between the dollar signs vanishes.

<span class="style-$">This is odd

This is oddstyled

In [ ]: