PIE 01
Your First .mud File
Create a file named anything you like — hello.mud, canon.mud, inspired-cafe.mud. MarkUpDown is plain text. Code Designer adds syntax, preview, and export.
Welcome to MarkUpDown. This is Pie One.
Save as hello.mud — the extension is the whole vibe.
PIE 02
Headers & Structure
Use # for titles and ## for sections — familiar if you know markdown, but MarkUpDown understands component structure for export and code generation.
- Raspberry Pi 5 node
- Chromium kiosk on :3000
- futurevision.live
- homebrewz.live
PIE 03
The ++ Code Block
MarkUpDown uses ++ to open executable documentation blocks — code that can render, export, or generate real files. This is where .mud beats plain markdown.
[Service]
ExecStart=/usr/bin/node server.js
WorkingDirectory=/opt/futurevision-sexbox
hub
name "FutureVision Live"
port 3000
PIE 04
Lists, Links & Live Preview
Bullet lists for specs. Standard links for the network ring. In Code Designer, the WYSIWYG editor shows live preview as you type — flat 0ms feedback loop.
- Physical: Officeworks Order 1830582929
- Digital: [flipzine.live](https://flipzine.live)
- Shield: SoftRadix QA — Komal Garg team
PIE 05
Export & Ship
One .mud file → HTML for the web, PDF for print, or generated code from templates. Same source as SexBox Entertainment Magazine and FlipZine brochure sync.
export
html "dist/canon.html"
pdf "print/canon.pdf"
code "src/generated/"
::: Component Blocks
Presentation fences from MUD-SPEC v0.1 — layout, navigation, embeds, and forms. Pair with ++ for codegen.
PIE 06
Two Families — ::: vs ++
::: fences render (hero, grid, forms). ++ blocks execute (N.O.N., systemd, export manifests). Never mix the semantics.
title: Mud Pies
subtitle: Bake your first .mud file
hub
name "FutureVision Live"
PIE 07
Hero Block
Page opener — eyebrow, title, subtitle, image, CTA row. Every .live microsite starts here.
eyebrow: SEXBOX.LIVE
title: Four Thrones
subtitle: Physical · Digital · Shield · Entertainment
image: assets/hero.png
cta:
- [Demo](demo.html)
- [FlipZine](https://flipzine.live) primary
PIE 08
Flexbox Grid + Card
Responsive columns for spec matrices, feature rows, and network ring tiles. Nest card blocks inside grid.
icon: 🌐
title: futurevision.live
body: Sovereign multimedia hub
icon: 📖
title: flipzine.live
body: Digital throne — magazine sync
PIE 09
Table of Contents
Auto-built from # headings — depth control, sticky sidebar option, or set toc: true in frontmatter.
title: Launch Canon
toc: true
PIE 10
HTML Embed
Sandboxed iframe or raw HTML island — EmulatorJS, widgets, CRT viewports. Use sandbox for external URLs.
src: https://homebrewz.live/play.html
height: 480
title: EmulatorJS Playground
<div class="crt-viewport" data-system="c64"></div>
PIE 11
Contact Form + Waitlist
Declarative fields → POST endpoint. Preset waitlist wires to Code Designer's waitlist API.
field name text label="Your name" required
field email email label="Email" required
field message textarea rows=4
submit: Join Waitlist
submit: Join Waitlist
PIE 12
Callout + CTA Band
Admonitions for canon docs (canon, warning, tip) and full-width promo strips.
**Deployed realities only.** No vaporware in canon .mud files.
title: Ready to get muddy?
button: [Join Waitlist](waitlist.html) primary
PIE 13
Frontmatter, Include & Section
Doc meta at the top, shared partials for FlipZine sync, named layout bands for export themes.
title: Inspired Cafe
export:
html: dist/inspired-cafe.html
path: partials/network-ring.mud
- Dr. D · Gemzy · Curs_y
PIE 14
Media, Marquee & More
Bonus blocks from the spec — gallery, tabs, timeline, diagram, Flip spread. See MUD-SPEC §5 for the full menu.
src: assets/markupdown-hero.png
caption: Author once. Export everywhere.
SEXBOX.LIVE · HOMEBREWZ.LIVE · FLIPZINE.LIVE
graph LR
mud[.mud] --> html[HTML]
mud --> pdf[PDF]