Notebook convert doesn't convert magic markdown cells
# %% [markdown]
# # magic markdown
gets converted to python comments when using refactor>convert to notebook on a script. the jupytext package solves this jupytext --to notebook main.py
请先登录再写评论。
Hi Clément Dumas
I am able to replicate the issue and have reported as a new bug in youtrack:
https://youtrack.jetbrains.com/issue/PY-83878/Convert-to-Notebook-converts-incorrectly-magic-commands-into-Python-comments
Please feel free to follow / upvote the above case.
Kind regards,