Example Post Title!

Jul 5, 2025 · 1 min read

Blog with Jupyter Notebooks!

Create a directory for the blog post somewhere like:

content/post/test-post/

Within this directory create an ipynb named:

index.ipynb

The first cell of the notebook to have the following content:

---
date: 2024-02-02T04:14:54-08:00
draft: false
title: Example
---

You then run the following code, assuming your working directory is your sites home directory:

jupyter nbconvert --to markdown content/post/blog-with-jupyter/index.ipynb

If you want a featured image, then add an image in the same directory named

featured.png

Here is an example of running some python code:

from IPython.core.display import Image
Image('https://www.python.org/static/community_logos/python-logo-master-v3-TM-flattened.png')

png

print("Welcome to Academic Blogging!")
Welcome to Academic Blogging!