<commit_before>Convert markdown to IPython Notebook
====================================


This is a simple tool to convert markdown with code into an IPython
Notebook.

Usage:

    notedown input.md > output.ipynb


It is really simple and separates your markdown into code and not
code. Code goes into code cells, not-code goes into markdown cells.
Currently only works with Github Flavored Markdown (code-cells
marked with \`\`\`).

Installation:

    pip install notedown


### Why?

I don't know. Maybe you prefer writing in markdown.


### What this does **not** do:

- run code cells
- embed figures


### Conversion from notebook to markdown

Converting from an IPython notebook to markdown is done using
`nbconvert`:

    ipython nbconvert notebook.ipynb --to markdown


### TODO

- [ ] support more markdowns
- [ ] allow other cell types?
<commit_msg>nicer title<commit_after>Create IPython Notebooks from markdown
--------------------------------------

This is a simple tool to convert markdown with code into an IPython
Notebook.

Usage:

    notedown input.md > output.ipynb


It is really simple and separates your markdown into code and not
code. Code goes into code cells, not-code goes into markdown cells.
Currently only works with Github Flavored Markdown (code-cells
marked with \`\`\`).

Installation:

    pip install notedown


### Why?

I don't know. Maybe you prefer writing in markdown.


### What this does **not** do:

- run code cells
- embed figures


### Conversion from notebook to markdown

Converting from an IPython notebook to markdown is done using
`nbconvert`:

    ipython nbconvert notebook.ipynb --to markdown


### TODO

- [ ] support more markdowns
- [ ] allow other cell types?

{'fraction_non_alphanumeric': 0.1114335461404527, 'fraction_numerical': 0.0, 'mean_word_length': 3.38676844783715, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3968972', 'n_tokens_mistral': 519, 'n_tokens_neox': 487, 'n_words': 219}