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 122 forks source link

try math-preview-at-point in markdown cells #856

Closed mathren closed 2 years ago

mathren commented 2 years ago

ein:worksheet-execute-cell will try math-preview-at-point when invoked in a ein:markdowncell mode and print a message. The behavior is unchanged on other cell types.

In case of latex errors, they are correctly displayed in the minibuffer.

dickmao commented 2 years ago

Let's do it. I trust the other two EIN users won't mind.

A friendly: progn isn't necessary with cond.

mathren commented 2 years ago

Thanks! I am very new to lisp, appreciate the tip. Also, thanks for maintaining this package!