Markdown is easy to write, and it has no place to put structure. The people who rely on it most keep patching that gap, and Typemark is my draft of a format that closes it inside Markdown.
Markdown keeps getting patched
The complaint comes from people who know the format well. John MacFarlane wrote pandoc and is the main author of the CommonMark spec, and his essay Beyond Markdown goes through "the six features of Markdown that I think have created the most difficulties." The last item on that list is attributes. Stripe's engineers wrote in 2022 that "Markdown is a relatively flat format that isn't designed to express complex structure or hierarchy," and they built Markdoc on top of it. In May 2026 Thariq Shihipar, of the Claude Code team at Anthropic, wrote that "Markdown has become an increasingly restrictive format" and that he now prefers HTML for what agents produce. A podcast episode with him that month is titled HTML is the new Markdown.
The most common patch is frontmatter, a block of YAML at the top of the file. GitHub Docs describes it as "an authoring convention popularized by Jekyll that provides a way to add metadata to pages," and Obsidian stores a note's properties "in YAML format at the top of the file." The CommonMark spec does not mention it. A file's data therefore sits in a second language, outside the standard, and it can describe the whole file but never one section of it.
What Markdown gets right
Markdown is still worth keeping. John Gruber's syntax guide says a Markdown document "should be publishable as-is, as plain text." The LaTeX project page says it "encourages authors not to worry too much about the appearance of their documents but to concentrate on getting the right content." In both, you write and something else handles the presentation.
Shihipar's case for HTML rests on a change in who edits. He calls Markdown "easy to edit" and explains that he is "increasingly not editing these files myself." My read is that HTML suits a page an agent writes and a person reads, and that anyone who still writes the file by hand gives up what Gruber was protecting.
Structure inside the text
Typemark keeps the writing and adds the structure. A line that starts with @ directly
under a heading sets a property on that section.
# Project plan
@author: Alice
## Projects
@items: card
@card: title(text) thumb(image) desc(markdown) slug(text kebab unique)
@layout: grid(2, 1)
### Weather app
@slug: weather-app
@thumb: 
Local forecasts with hourly updates.
### Notes app
@slug: notes-app
@thumb: 
A quiet place to collect ideas. Here @items: card makes each subsection of Projects a card, and @card lists the fields a card has, each with a type. In the example the heading fills title and the paragraph fills desc. A slug is kebab-case text and must be
unique among the cards, and @layout: grid(2, 1) places the two cards side by side.
Typemark is a draft. The repository holds a README with this example and a license, and there is no parser yet. What follows is a guess about where it could help. A chat interface could show a model's typed sections as cards or a table instead of a long scroll of text. A shared document could stay a plain text file that people and agents edit and compare line by line. A page builder could take one file as both the content and the layout.
The sources above show that the gap is real and that people keep filling it with a second format. They do not show that Typemark is the right fix. A parser is the next step, because that is where the syntax either holds up or breaks.
The draft is on GitHub. Tell me what you would change there, or in Discord.
