millejoh / emacs-ipython-notebook

Jupyter notebook client in Emacs
http://millejoh.github.io/emacs-ipython-notebook/
GNU General Public License v3.0
1.47k stars 123 forks source link

Using Emacs's markdown-mode with EIN? #831

Closed zeta-00 closed 2 years ago

zeta-00 commented 2 years ago

Greetings,

I finally got EIN working nicely with Python and Elpy, but I'm not sure how to correctly setup emacs's markdown-mode to work with Jupyter notebooks in EIN.

Context: My physics teacher assigned my class some Jupyter notebooks, so, when I open theme in EIN, things like plots are rendering nicely, but my issue has to do with markdown-mode. When I open the Jupyter notebooks in a web browser, the browser's built-in markdown works correctly when displaying things like physics equations, but in EIN the markdown section is not displaying correctly.

Any tips on how to fix this? I'm not sure if this is EIN related, or if this is more related to the markdown-mode package?

Reference links:

https://www.ibm.com/docs/en/watson-studio-local/1.2.3?topic=notebooks-markdown-jupyter-cheatsheet

https://www.emacswiki.org/emacs/MarkdownMode

https://leanpub.com/markdown-mode/read

Thanks in advance for the help.

dickmao commented 2 years ago

Context: My physics teacher assigned my class some Jupyter notebooks

Ah, so you're still in high school. Things make more sense now.

EIN's markdown mode is rather sus, and a largely untested bolt-on.

I wouldn't trust it to do the right thing beyond simple h1 headings. Sorry.