Embed test
Sandbox page for visually verifying the two embed modes (plain and styled) against the original blocks. Not linked from any sidebar — reach it directly at /dev/embed-test.
The plain form embeds raw block content as if pasted into the page; the styled form (suffix bang) wraps it in a slate-accented box with type and source link in the header.
Source blocks
Original blocks defined here for comparison further down.
A demo definition of such that .
For all , the inequality holds, with equality iff .
Let . Then and .
Headline. A short remark that recasts the same idea in different notation, to illustrate how the embed reproduces the amber accent.
A bare block — no directive type, so no visual styling. Acts as a referenceable container only.
Plain mode
Each embed below should render visually identically to the source block above it: same accent color, same label-pill, same border. The only difference is that this is a recap, not the canonical site (the source is the one that owns the id and ranks higher in search).
Definition (blue)
Theorem (purple)
Example (green)
Remark (amber)
Bare block (no styling)
Styled mode
All five embeds below take the same content but wrap it in the slate-accented embed box. The slate is intentionally distinct from definition/theorem/example/remark colors so an embed never gets confused with a real typed block. Header label combines type and name; clicking it jumps to the source.
Definition embed
Theorem embed
Example embed
Remark embed
Bare block embed
Cross-page lookup
The embeds above all resolve via the same-page [data-named-block] query. Below pulls a real definition from another page (appendix/linear-algebra/inner-product), exercising the content-map.json lookup path.
Plain
Styled
Page references
@page/<pageId> resolves to the page’s URL via pageId frontmatter; trailing segment becomes a heading anchor. Styled like a block-ref (dashed underline, away-arrow on hover) but no popup.
- Self-link: back to top of this page — no anchor.
- Anchored: jump to styled mode — heading slug appended.