QuantEcon / sphinxcontrib-jupyter

A Sphinx Extension for Generating Jupyter Notebooks
BSD 3-Clause "New" or "Revised" License
76 stars 23 forks source link

BUG: fix issue when parsing $ sign as special markdown syntax #165

Closed mmcky closed 5 years ago

mmcky commented 5 years ago

This PR fixes an issue when using $ sign in text. When multiple $ chars are used in markdown they are interpreted as math. To fix this the extension escape $ using \$ when writing any text into markdown cells.

sglyon commented 5 years ago

nice!

arnavs commented 5 years ago

@mmcky I was having trouble with using this inside of code formatting (i.e., double-backticks) in text mode. But it works fine in "normal" text usage.

mmcky commented 5 years ago

@arnavs can you post an example? Inside of code blocks is usually un-processed text.