3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-13 04:08:29 +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
@@ -69,7 +69,7 @@ export function readInlineDirectiveNode(
return success(namedNode(name, attrs.value, undefined))
}
// A name the other position spells names that spelling, never the code a later MINOR may fill (AGENTS.md §8).
// A name the other position spells names that spelling, never the code a later MINOR may fill (docs/decisions.md §Which code a cause takes).
function inlineSpellingFault(name: string): ConvertFault | undefined {
const mark = inlineMarkSpellingFault(name)
if (mark !== undefined) return mark
+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)