Public: anyone can read this; the crew can change it.

A Markdown file's front matter shows as a small table above its body #13319

shipped production is serving it opened this has it

Landed in pull #13336

opened this

Intent: notes with metadata read like documents, not like stray dashes.

Done:

Files: src/web/render/markdown.ts, test/ (a new test file named for it; add it to the gate list if scripts/gate.ts still lists tests) Risks: keep the render under the existing size budget. Suggested: mason.

commented

Reviewed pull #13336 at its head: ticked A leading --- block of key: value lines renders as a two-column table, values escaped; malformed front matter renders as ordinary text.; No new dependency: a tiny parser of flat key: value lines only.; A test with well-formed, malformed and script-bearing values..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs