Answer the architecture review: emit-only spellings move down, and the tables drop markdown's words
CI / gate (push) Successful in 5s
CI / gate (push) Successful in 5s
This commit is contained in:
@@ -95,9 +95,10 @@ detail is settled at its own milestone.
|
||||
included, and a mark spelling that cannot open where it sits (`un**-real**istic`; the spec
|
||||
owes the carry a trigger). One mark vocabulary lands here, before 2e3 changes the
|
||||
attribute spelling: `emphasisSpellings`, `linkAttributes` and the `code`/`link` names join
|
||||
`inline-directives.ts`, which holds four of the nine marks while the rest are branch
|
||||
literals in the emitter — and the parser (3) needs every name to make `:em[x]` the named
|
||||
error `spec/flavour.md` promises.
|
||||
the mark table (3a parted it across `adf/mark-attributes.ts` and
|
||||
`markdown/mark-spellings.ts`), which holds four of the nine marks while the rest are
|
||||
branch literals in the emitter — and the parser (3) needs every name to make `:em[x]`
|
||||
the named error `spec/flavour.md` promises.
|
||||
- [x] **2e3 — Attribute canonicalization and the quoted value's escape.**
|
||||
**Settled** (the maintainer, 2026-08-26): a quoted attribute value escapes `` ` ``, `&`,
|
||||
`<` and `|` as `\u0060`, `\u0026`, `\u003c` and `\u007c`, in every directive, block and
|
||||
@@ -225,8 +226,9 @@ detail is settled at its own milestone.
|
||||
entity references decoding to their characters, code spans and the literal they hold —
|
||||
directive syntax and `~~` included — CommonMark's own hard breaks, a trailing backslash
|
||||
and two trailing spaces alike, a soft line break as one space, and the raw inline tag,
|
||||
comment and processing instruction refused by name, recognized by the `htmlConstructs`
|
||||
`markdown-escaping.ts` already escapes against, under 3b's one-table rule.
|
||||
comment and processing instruction refused by name, recognized by the
|
||||
`commonmark-grammar.ts` predicates the emitter already escapes against, under 3b's
|
||||
one-table rule.
|
||||
- [ ] **3e — Emphasis and links.** `_`, `*` and `~~` runs through `matchEmphasis` to the `em`,
|
||||
`strong` and `strike` marks; links inline and reference, 3b's definitions resolved here,
|
||||
autolinks, and the image gap's named errors — a titled image, and one amid other text.
|
||||
|
||||
Reference in New Issue
Block a user