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

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

Closed mathren closed 1 year ago

mathren commented 1 year 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 1 year 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 1 year ago

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