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

TIL: Building a simple site using Hugo

Today I learned how to build a simple site using Hugo. For the initial setup, install hugo then create a new site. brew install hugo hugo new site my-website In the directory that has been created, initialise a git repo, and add the theme of your choice as a submodule. I chose this nice theme papermod. git init git submodule add https://github.com/adityatelange/hugo-PaperMod themes/PaperMod You can use hugo new to create a post:...

November 14, 2022 · 1 min · Hollie