luk400 / vim-jukit

Jupyter-Notebook inspired Neovim/Vim Plugin
MIT License
602 stars 23 forks source link

Use raw strings for python #36

Closed igorlfs closed 2 years ago

igorlfs commented 2 years ago

When using latex inside a markdown cell, exporting the notebook to python may trigger an invalid escape sequence.

luk400 commented 2 years ago

Hi! Thank you, using raw strings is a good idea. I also added backwards compatibility for this change in 759121b, so that users who still have .py files containing markdown cells without raw strings don't run into issues when converting those files to .ipynb notebooks.