formatting & media demo
This page is a living reference for everything the markdown pipeline can render. It is also a smoke test: if a feature breaks, it should break here first.
- Plain text — the default.
- Italic, bold, bold italic,
strikethrough, andinline code. - A normal link, a download, and a wikilink to the XSS notes.
- Inline HTML: highlighted, Ctrl + K, H2O, E = mc2, and an appsec abbreviation.
Footnotes work too.1
headings
The renderer assigns stable ids to every heading so the right-hand table of contents can link to them.
third level
fourth level
fifth level
sixth level
lists
unordered, nested
- reconnaissance
- passive
- active
- web surface
- network surface
- exploitation
- reporting
ordered
- enumerate
- exploit
- escalate
- document
task list
- write the page
- render a table
- embed audio
- take over the world
- clean up the shell history
table
| Capability | Syntax | Notes |
|---|---|---|
| Headings | # heading | level 1–6 |
| Tables | | a | b | | GFM tables |
| Code | fenced block | syntect highlighting |
| Audio | raw HTML | served from /static/sounds |
| Video | raw HTML | mp4 + webm fallbacks |
blockquote
The quieter you become, the more you can hear.
— some kernel developer, probably
callouts
Raw HTML is passed through, which is how callouts are built.
Note
Use callouts for context that is useful but not critical.
Tip
Run the demo page after changing the renderer — it exercises every branch.
Warning
Raw HTML is trusted. Only author content from sources you control.
code
Inline code: curl -s http://localhost:3000/api/search?q=xss.
use axum::{routing::get, Router};
#[tokio::main]
async fn main() {
let app = Router::new().route("/", get(|| async { "hello" }));
let listener = tokio::net::TcpListener::bind("0.0.0.0:3000").await.unwrap();
axum::serve(listener, app).await.unwrap();
}
# rebuild and restart after editing content
cargo build --release
systemctl restart md-server
{
"content": "markdown",
"renderer": "pulldown-cmark",
"highlighting": "syntect"
}
images
Vector image (an animated SVG — the orb pulses and the scanline moves):
/static/images/demo-terminal.svg.Raster image generated with ffmpeg:
/static/images/demo-gradient.png.Animated GIF:
/static/images/demo-loop.gif.audio
A short generated arpeggio served from /static/sounds/demo-tone.wav.
video
The video is a 5-second generated gradient loop with a quiet tone, encoded as both WebM (VP9/Opus) and MP4 (H.264/AAC).
embedded HTML
The iframe above is a standalone HTML page at /static/embed/demo.html, sandboxed
so it cannot reach the parent page.
raw HTML details
click to expand a raw HTML disclosure
This content lives inside a <details> element. Markdown allows it because raw HTML is passed through unmodified.
downloads
- demo-download.txt — tiny text file
- demo-script.sh — tiny shell script
Links under /static/files/ get a small download arrow automatically.
that’s everything
If this page renders correctly, the pipeline is healthy. Add new capabilities here as the renderer grows.
Footnotes are supported by the CommonMark footnote extension.