Answer the stability nits: the spellings a position hint names, and the fault its name owns
CI / gate (push) Successful in 9s

This commit is contained in:
2026-09-02 12:28:21 +02:00
parent 5defa89b8d
commit df6b19601d
5 changed files with 18 additions and 16 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ export function readDirectiveMark(name: string, attributes: DirectiveAttributes,
return success(Object.keys(attrs.value).length === 0 ? { type: name } : { attrs: attrs.value, type: name })
}
export function markSpellingFault(name: string): ConvertFault | undefined {
export function inlineMarkSpellingFault(name: string): ConvertFault | undefined {
const spelling = markSpelling(name)
if (spelling === undefined) return undefined
return { code: 'unsupported-node-shape', message: `${name} is spelled ${markdownForm(spelling) ?? `:${name}[…]`}, never as a block directive` }