Last active
March 13, 2019 18:03
-
-
Save jeffgerhard/3924097198af6a49c4aad149737b31f9 to your computer and use it in GitHub Desktop.
render markdown file (like README) in jupyter notebook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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