Easy markdown in python scripts 🐍

Markdown is a popular, lightweight markup language commonly used for text formatting (and used in this site). Whilst markdown can be written in a standalone file (for example, a README.md), it is also used in R Markdown (.Rmd) files and Jupyter (IPython) notebooks (.ipynb). In this blog post, we look at the advantages and disadvantages of notebooks and how we can use markdown directly in standard .py Python scripts. As an aside, R Markdown has other advantages over plain markdown, such as being publishable into R bookdown format… But that’s a blog post for another time!...

November 16, 2022 · 4 min · Hollie