{ "cells": [ { "cell_type": "markdown", "id": "2f21e4c5", "metadata": {}, "source": [ "# Ship Notebook Stories in Minutes\n", "Hugo Blox Notebook renderer turns your `.ipynb` experiments into beautiful long-form posts.\n", "Use this sample to see how markdown, code, and outputs flow together." ] }, { "cell_type": "markdown", "id": "3078072c", "metadata": {}, "source": [ "1. Drop notebooks inside `assets/notebooks/` (or import them as page resources).\n", "2. Reference them with `{{* notebook src=\"your.ipynb\" */>}}`.\n", "3. Control code, outputs, metadata badges, and download links via shortcode params." ] }, { "cell_type": "code", "execution_count": 1, "id": "7b29b28a", "metadata": { "tags": [ "demo", "quickstart" ] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Collecting data...\n", "Training notebook-ready block...\n", "Done!\n" ] }, { "data": { "text/plain": [ "0.982" ] }, "execution_count": 1, "metadata": {}, "output_type": "execute_result" } ], "source": [ "import math\n", "accuracy = 0.982\n", "print(\"Collecting data...\")\n", "print(\"Training notebook-ready block...\")\n", "print(\"Done!\")\n", "accuracy" ] }, { "cell_type": "code", "execution_count": 2, "id": "ceecfe89", "metadata": {}, "outputs": [ { "data": { "text/html": [ "