3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-18 22:25:44 +01:00

36b - §8, §9 and §14's decisions move to docs/decisions.md

This commit is contained in:
2026-09-28 03:54:34 +02:00
parent 852347a53e
commit 86c80fe40e
9 changed files with 161 additions and 118 deletions
+1 -1
View File
@@ -477,7 +477,7 @@ function markType(character: string, used: number): string {
return used === 2 ? 'strong' : 'em'
}
// A node cannot carry one mark type twice (AGENTS.md §14).
// A node cannot carry one mark type twice (docs/decisions.md §No schema validation).
function applyMark(nodes: readonly AdfNode[], mark: AdfMark): AdfNode[] {
return nodes.map((node) => {
const marks = nodeMarks(node)