⚡️ Turn Jupyter Notebooks into Blog Posts
Image credit: HugoBloxAs a researcher or data scientist, your work often lives in Jupyter Notebooks. But sharing those insights effectively usually means taking screenshots, messy copy-pasting, or exporting to PDF.
Hugo Blox changes that. With the {{< notebook >}} shortcode, you can render your actual .ipynb files directly as beautiful, interactive blog posts or project pages. Keep your code, outputs, and narrative in one place.
Table of Contents
Why publish notebooks?
Reproducible Research: By publishing the actual notebook, you allow others to download and run your code, verifying your results and building upon your work.
- No more screenshots – Render crisp code and vector plots directly from your source.
- Theme consistent – Notebooks automatically adapt to your site’s theme (including dark mode).
- Flexible sourcing – Display notebooks from your
assets/folder, page bundles, or even directly from a remote GitHub URL. - Interactive – Users can copy code blocks or download the full notebook to run locally.
Example: Data Science Workflow
Below is a live example of a notebook rendered right here in this post. Notice how the markdown, code, and outputs (text, HTML, and JSON) are all preserved and styled.
Launch Readiness Analysis
Python · Kernel: Python 3 · nbformat 4.5 · 6 cells
Ship Notebook Stories in Minutes
Hugo Blox Notebook renderer turns your .ipynb experiments into beautiful long-form posts.
Use this sample to see how markdown, code, and outputs flow together.
- Drop notebooks inside
assets/notebooks/(or import them as page resources). - Reference them with
{{</* notebook src="your.ipynb" */>}}. - Control code, outputs, metadata badges, and download links via shortcode params.
| |
Collecting data...
Training notebook-ready block...
Done!
0.982 | |
Notebook blocks are theme-aware and dark-mode friendly.
| |
{
"metrics": {
"engagement_rate": 0.73,
"read_time_minutes": 4.6,
"subscribers": 1280
}
}Tip: Pair this block with Call-to-Action cards or the Embed shortcode to link to GitHub repos, datasets, or ARXIV preprints.
How to add a notebook
- Save your notebook. Place your
.ipynbfile inassets/notebooks/(for global access) or inside a page bundle (likecontent/blog/my-post/analysis.ipynb). - Add the shortcode. In any Markdown page, simply use:
{{< notebook src="analysis.ipynb" >}} - Customize. You can hide code cells for non-technical audiences (
show_code=false) or just show the output (show_outputs=true).
Hugo Blox respects your privacy. Notebook rendering happens statically at build time—no third-party services required.
Next steps
- Try it out: Drop one of your existing notebooks into this site and see how it looks.
- Link your papers: Use the Embed shortcode to link your notebook to your latest arXiv preprint or GitHub repository.
- Get help: Join the community on Discord or check the documentation.
Happy researching! 🚀

I am Chris Yee Wong, an assistant professor in the Department of Mechanical, Industrial and Aerospace Engineering (MIAE) and the director of the Living with Assistive and Interactive Robots (LAIR) Lab at Concordia University in Montreal, Canada.
The overall goal of my research is to develop robotic assistants for safe, comfortable, and intuitive autonomous physical and social human-robot interaction (psHRI) in the areas of home care, retail, manufacturing, or healthcare. My current research arc involves different aspects of psHRI with humanoid, mobile, and manipulator robots, particularly by examining a) how a robot can infer intention and react appropriately depending on the context by using a multimodal analysis of human posture, gesture, touch, emotional state, physiological signals, environmental signals, etc; b) how robots can be placed in the retail space to enhance and assist the shopping experience of those who might have visual or mobility impairments; and c) how virtrual reality can be used in psHRI.
I am also developing the foundations of Sensor Observability Analysis, a novel way of performing generalized kinematic analysis of distributed axial sensors on articulated robots. My past research involved automation of single cell micromanipulation, quadruped robot control, and hexapod robot leg design.
I am also passionate about teaching using evidence-based techniques, the scholarship of teaching and learning, mentoring, and helping people become better versions of themselves.
On my spare time, I’m a hobbyist maker with my own Etsy store (with corporate clients) and I’m involved in coaching elite youth and university-level dragon boat in the Montreal area. Although my blog Ramblings of a PhD is only occasionally updated, it has recorded some of my thoughts from having started a career in academia.
Feel free to contact me by email: christopheryee[dot]wong[at]concordia[dot]ca
(Note that this website is still a work in progress. Please use the links to my ResearchGate and LinkedIn profiles for a more detailed portfolio.)
