Skip to content

A script to convert Jupyter notebooks to Leanpub-flavored Markdown.

License

Notifications You must be signed in to change notification settings

thirumalaivasan95/ipynb2lmd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the script that I used to convert the Jupyter notebooks in the QuantLib Python Cookbook into the Leanpub-flavored Markdown files required for publication with Leanpub.

Usage

The script must be passed the name of the notebook to convert and the name of the output directory (which must already exist); for instance, running

python ipynb2lmd.py example.ipynb output/

in this folder will create example.md in the output directory, along with a pair of figures (also extracted from the notebook) that the notebook contains and the Markdown file includes.

License

This script is released under the 3-Clause BSD license; see LICENSE for details.

Support (or lack thereof)

I hope you'll find this script useful, but I won't provide support for it. You're welcome to fork it and improve it.

About

A script to convert Jupyter notebooks to Leanpub-flavored Markdown.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 81.4%
  • Python 18.6%