Repository navigation
Proposal 0013: CND 0.5.0 — rich text and block containers - #7
Merged
Merged
Conversation
…s (draft) Redesigns the node model: prose becomes a RichText with standoff marks and its own link families; list items, term definitions, cells, quotes and footnotes hold block nodes; adds admonition and layout nodes, checkboxes, figure descriptions, code titles, numbering objects, and author-declared document status, version and extra metadata. States the pre-1.0 compatibility policy and the open-vocabulary contract. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XxXUiDn2QyzNTYnZpeVFVS
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XxXUiDn2QyzNTYnZpeVFVS
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XxXUiDn2QyzNTYnZpeVFVS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds proposal 0013, the design for CND format 0.5.0. This is a redesign of the node model, not an addition.
What the proposal decides
RichTextobject:value,lang, standoffmarks, and the four link families. The families move off the node base. Every offset indexes the text it sits beside.strong,emph,code,strike,sup,sub,underline,highlightandmath;mathcarries its source inraw. Marks may overlap freely. They have a canonical form, with sorted order and same-kind marks merged.codeandmathmarks are atomic.children. A nested list therefore has its own kind.quote,codeandmathbecome block-only.admonitionandlayoutnodes;ListItem.checked;figure.description;code.title;numbering {value, name}, which replacesnumberandcounter_label;table.kind(data/content/ null), which replaceskindandcontent_kind;doc.status,doc.versionanddoc.extra.tight,table.raw,quote.text,quote.lang,code.blockandmath.block.x-prefix);Proposal 0002 is superseded. The spec, schema, models and ADRs change in the implementation pull requests, cut into four plans: core; renderers and converters; declaration, builder and reconciliation; fixtures.
Closes CND-15
🤖 Generated with Claude Code
https://claude.ai/code/session_01XxXUiDn2QyzNTYnZpeVFVS