imbue-ai / jupyter_ascending.vim

Vim plugin to interact with jupyter_ascending
MIT License
168 stars 16 forks source link

Can we add markdown cells? #10

Closed JohnReid closed 1 year ago

JohnReid commented 2 years ago

Is it possible to add markdown cells to the notebook via the sync?

pi1Mg commented 2 years ago

Not sure if I understood you correctly, but maybe what need is to write something like this:

%% [markdown]

"""

Your Markdown Heading


"""

Eloitor commented 2 years ago

This worked for me, but I would like some sort of markdown syntax highlighting inside the markdown blocks.

IliaOzhmegov commented 1 year ago

Hi @Eloitor there is a numerous amount of plugins for that! I'm afraid that is not something that is supposed to be covered by jupyter_ascending.vim plugin. It only sends two commands sync and execute. Although, I understand why you are addressing it here. I can only advise to allow markdown syntax highlighting in python files.

zplizzi commented 1 year ago

Yeah, i'm not sure that existing markdown plugins would correctly handle the case of markdown embedded in a py:percent formatted python file, but I agree that that formatting is out of scope for this plugin.