jckantor / nbpages

Command line tool to maintain a repository of Jupyter notebooks.
https://jckantor.github.io/nbpages/
MIT License
1 stars 4 forks source link

Add support for .md files #57

Open adowling2 opened 3 years ago

adowling2 commented 3 years ago

In some cases, I would like to have a page as a markdown file instead of notebook. Examples: syllabus, text for best practices, chapter introduction, etc. For simple things, I find it a little cumbersome to file up a notebook.

One idea would be to support either .ipynb and .md files, e.g., nbpages is smart enough to handle 01-01-something.ipynb or 01-01-something.md.

This is a summer enhancement. I also have not through through all of the implications of this request.

jckantor commented 3 years ago

Yes, this is something I’ve wanted to do for a while. It will require a daily thorough rewrite because of an assumption that all files are structured as JSON, which is how the nav bars and other data are inserted. So a hack might be to rewrite .md files as .ipynb, then process.

Sent from my iPhone

On Jan 30, 2021, at 10:59 AM, Alex Dowling notifications@github.com wrote:

 In some cases, I would like to have a page as a markdown file instead of notebook. Examples: syllabus, text for best practices, chapter introduction, etc. For simple things, I find it a little cumbersome to file up a notebook.

One idea would be to support either .ipynb and .md files, e.g., nbpages is smart enough to handle 01-01-something.ipynb or 01-01-something.md.

This is a summer enhancement. I also have not through through all of the implications of this request.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.