Up to now I worked happily with .ipynb files, and I start to feel confortable with the Jupyter interface.
So I thought about working with other kind of files inside this interface.
As an example, I have a lab book.txt file that I use as a diary of the work I daily perform.
There is a way to edit it into the Jupyter interface as a markdown?
To explain me better: if I create a new .txt file, and under Language I select Markdown, the interface simply highlights the header’s color and not much more.
If instead in a .ipynb file I select a cell as markdown, the visualization capability is much more enhanced, up to the possibility to evaluate LaTeX code…
I know I could just work with a lab book.ipynb file and set all the cells to Markdown, but I dislike the fact that I could work with it just inside Jupyter, due to the large amount of additional stuff the .ipynb include in the file - opening it inside a common text editor would be awkward…
You could use Jupytext to convert your markdown to a notebook, work with it in Jupyter as you prefer, and then convert the edited notebook back to markdown for long-term storage and/or later opening it in a text editor for a quick edit.
Yes, I discovered Jupytext a minute after posting my question (sorry), and started experimenting with it.
It is not bad, but annoying in requiring that I now have to keep two files, one .ipynb and one .md.
Personally, I use the .Rmd format from Jupytext, and treat that as the source file. I can open this in Jupyter Notebook, and reload in the browser to get any edits I’ve done on the .Rmd file from my text editor. I treat any generated .ipynb as the rendered version of the notebook, and I often don’t store that in source control.
To sort of rephrase what @matthew.brett said: You don’t have to keep both. You don’t have to do the pairing it talks about early in the usage section. The command line approach is a simpler way to go about it. I thought you wanted markdown in the end, and so I suggested you convert from markdown over to a notebook for editing and convert back to markdown after. The notebook format you can delete. You can write nice little bash scripts to handle those steps as you use it more.