Answer the stability pass: the strip that changed nothing, and the words the body earns
CI / gate (push) Successful in 8s

This commit is contained in:
2026-09-01 19:13:13 +02:00
parent aae1ed4baf
commit e68dbc41a3
8 changed files with 19 additions and 16 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import { holdsEntityReference } from './entity-references.ts'
export type LanguageSlot = { info: string; kind: 'fence' } | { kind: 'attribute' } | { kind: 'none' }
// spec/flavour.md, The CommonMark blocks: the one slot a codeBlock's language rides, both directions.
// spec/flavour.md, The CommonMark blocks: the one slot a codeBlock's language rides.
export function languageSlot(language: JsonValue | undefined): LanguageSlot {
if (language === undefined) return { kind: 'none' }
if (typeof language !== 'string' || language === '' || language === carryName) return { kind: 'attribute' }