Skip to content

Instantly share code, notes, and snippets.

@jeffgerhard
Last active March 13, 2019 18:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeffgerhard/3924097198af6a49c4aad149737b31f9 to your computer and use it in GitHub Desktop.
Save jeffgerhard/3924097198af6a49c4aad149737b31f9 to your computer and use it in GitHub Desktop.
render markdown file (like README) in jupyter notebook
from markdown2 import markdown
from IPython.core.display import HTML
with open('README.md', 'r') as fh:
m = markdown(fh.read())
HTML(m)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment