A clean, static template for publishing tutorials. Content is written in Markdown, rendered on the fly, and styled for math and code without any build step.
- Markdown driven: point
tutorial.htmlat any.mdfile via themdquery string. - Ready for STEM: MathJax for formulas and Highlight.js for code snippets.
- Responsive layout: landing page grid plus a tutorial view with a generated sidebar.
- Serve the folder (run
start_server.ps1or any static server). - Add a Markdown file under
content/tutorials/(for example,content/tutorials/example/lesson.md). - Open
tutorial.html?title=Example&md=content/tutorials/example/lesson.mdto see it rendered. - Duplicate a card in
index.htmlto link to your new tutorial.
index.html- landing page cards.tutorial.html- loads Markdown via?md=...and builds the sidebar from headings.css/tutorial.cssandstyles.css- styling for the tutorial page and landing page.js/markdown-callback-loader.js- Markdown rendering pipeline with callouts and math support.
See docs/USAGE.md for step-by-step instructions, Markdown patterns for callouts, and theming tips.