Closed lewtun closed 3 years ago
@muellerzr mind taking a look at this issue re: my comment in #355 about your CRLF cleaning PR?
@muellerzr fastcore has an in_colab perhaps that may be helpful here?
.... although I suppose someone could also try do LaTex on Colab
@hamelsmu I think the solution may be to minimally replace CRLF
. IE have the regex match:
[\r\n]+
and replace it with \n
rather than just all \r
.
I just don't know if this can solve CR
that's on it's own as well
Hello,
When running
nbdev_clean_nbs
all my\right
LaTeX commands in Markdown cells are getting converted to\night
which breaks the LaTeX syntax and doesn't render in the docs.Steps to reproduce:
nbdev_new
to create a new projectindex.ipynb
notebook to include a Markdown cell with the following LaTeX equationnbdev_clean_nbs
git diff index.ipynb
Expected behaviour
nbdev_clean_nbs
preserves LaTeX parenthesesActual behaviour
From the
git diff
:System info
nbdev
version: 1.1.12