jupyterlab-myst icon indicating copy to clipboard operation
jupyterlab-myst copied to clipboard

BUG: missing save-as Myst Markdown option

Open bsipocz opened this issue 5 months ago • 2 comments

Description

There should be an easy way to save a notebook (usually started its life in ipynb format) as a MyST markdown. Currently it's only possible to either start as one, or to jupytext convert on the command line (which then will lack the metadata header; at least when converted from vanilla markdown).

Proposed solution

Add a "MyST Markdown" option to the "File"--> "Save and Export Notebook as"

Image

Additional notes

jupyterlab-myst 2.4.2 is installed when I made the screenshot

bsipocz avatar Aug 06 '25 16:08 bsipocz

There is another tool which does exactly this, and that is jupytext. See:

https://jupytext.readthedocs.io/en/latest/#paired-notebooks

As I understand, this extension is solely meant to preview the web rendering of the markup.

ashwinvis avatar Aug 21 '25 11:08 ashwinvis

Thanks. I'm familiar with jupytext, and not at all interested in the pairing feature. This feature would fit nicely into this extension and is something that I feel strongly about that we (JB/mystmd) should provide support for, but I would not be against a more upstream support either.

bsipocz avatar Aug 21 '25 16:08 bsipocz