MD Notebook is a Visual Studio Code extension for creating a notebook written in Markdown. It shows text paragraphs in markdown cells, and code blocks in code cells (it doesn't support executing code cells). You can save your notebook and then open it again with all the cells as specified. Also, it allows to export the notebook to a pure Markdown file.
To create a MD Notebook
Install the extension
Create a file with a .mdnb ending.
To export a MD Notebook to Markdown
Open a file with a .mdnb ending. (Be sure it is the active tab in VS Code)
Open the Command Palette
Search for MD Notebook: Export to Markdown File
Output is not saved.
When exporting a notebook, a file with the same name, but extension .md, will be created. If a file already exists with that name, it will overwrite it.