{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "7fb27b941602401d91542211134fc71a",
   "metadata": {},
   "source": [
    "# Content Features Demo\n",
    "\n",
    "This notebook showcases Bengal's full rendering pipeline for notebooks:\n",
    "\n",
    "- **Markdown** — Headings, lists, and inline math like $x^2 + y^2 = z^2$\n",
    "- **Code** — Syntax-highlighted with Rosettes\n",
    "- **Outputs** — Stream and execute_result rendered as HTML"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "acae54e37e7d407bbb7b55eff062a284",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Pi to 4 decimals: 3.1416\n"
     ]
    }
   ],
   "source": [
    "import math\n",
    "\n",
    "print(f\"Pi to 4 decimals: {math.pi:.4f}\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "e064aef8",
   "metadata": {},
   "source": [
    "## Block Math\n",
    "\n",
    "Block equations work in markdown cells:\n",
    "\n",
    "$$E = mc^2$$\n",
    "\n",
    "$$\\sum_{i=1}^n i = \\frac{n(n+1)}{2}$$"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "9a63283cbaf04dbcab1f6479b197f3a8",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'Hello, Bengal!'"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def greet(name: str) -> str:\n",
    "    return f\"Hello, {name}!\"\n",
    "\n",
    "\n",
    "greet(\"Bengal\")"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
