3. Markup dialect
Date: 2026-05-30
Status
Accepted. The dialect hasn’t changed. One consequence listed as negative, the absence of a callout syntax, no longer holds: decision record 0006 added one that stays inside standard CommonMark. See Corrections.
Context
Listsome needs a markup language for project content. Users write content in plain text files that a build converts to HTML. The choice of markup dialect affects portability, feature richness, and the learning curve for users.
Options considered include CommonMark, GitHub-Flavored Markdown, AsciiDoc, reStructuredText, and a custom markup language.
Decision
Listsome uses CommonMark as its base markup dialect, processed by pulldown-cmark.
The parser turns on three CommonMark extensions:
- Tables, through
ENABLE_TABLES, which bills of materials depend on - Strikethrough, through
ENABLE_STRIKETHROUGH, for deprecated or removed items - Task lists, through
ENABLE_TASKLISTS, for checkboxes in project notes
Every mainstream Markdown renderer supports these three, so the extensions don’t cost portability.
Why not GitHub-Flavored Markdown
GitHub-Flavored Markdown extends CommonMark with tables, strikethrough, task lists, autolinks, and disallowed raw HTML. pulldown-cmark implements the table, strikethrough, and tasklist extensions as opt-in flags rather than bundling one mode that turns all of them on. Listsome enables the three it needs and leaves autolinks and raw-HTML stripping out, because neither adds anything a project guide needs.
Why not AsciiDoc or reStructuredText
CommonMark has wider tooling support, lower learning overhead, and better ecosystem compatibility. AsciiDoc and reStructuredText do more for long-form technical documentation and add complexity that a page about wiring a relay doesn’t need.
Why not a custom markup language
Custom syntax would lock content into Listsome. A maker should be able to open a project file in any Markdown editor, read it on a forge that never heard of Listsome, and move to another generator without rewriting.
Consequences
Positive:
- Users write standard Markdown, so there is no proprietary syntax to learn
- Files render correctly in any CommonMark-compatible viewer
- Editing tools, previews, and linters already understand the dialect
- pulldown-cmark is fast and well-audited
Neutral:
- Listsome leaves autolinks and raw-HTML stripping out on purpose
- Tables, strikethrough, and task lists depend on pulldown-cmark extensions rather than the core specification
Negative:
- Raw HTML in project files passes through, which allows markup inconsistency when an author overuses it
- No built-in math rendering or diagram syntax
Corrections
Written 2026-11-13, against 0.1.7.
- Listsome does have a callout convention now. A paragraph that opens with a
bold label or a leading emoji becomes an
<aside>box, and a renderer that knows nothing about Listsome shows the same sentence as a paragraph with bold text. Decision record 0006 records the syntax and why it stays inside CommonMark. - Listsome adds structure to three conventions rather than none: step headers, materials tables, and callouts. All three degrade to standard Markdown when another renderer handles them.
- The enabled-extension list is accurate.
render_markdown_to_htmlturns on tables, strikethrough, and task lists and nothing else.