Goals become one-line aims, their detail moves to the sections that meet them
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
|
||||
## 0.2.0
|
||||
|
||||
- **43 — Give each markdown input its own reader, strict to its own standard.** Today
|
||||
`markdownToAdf` reads CommonMark and the lossless flavour as one input, so text CommonMark reads
|
||||
one way — shaped like a directive, a pipe table or a `~~` pair — the flavour claims (Goals 3 and
|
||||
4). A caller names the markdown it hands in: CommonMark, read as its spec says, or the lossless
|
||||
flavour, read as `spec/flavour.md` says. Breaking: `MIGRATION.md` says which call a caller takes.
|
||||
- **40 — Make `markdownToAdf(adfToMarkdown(doc))` deep-equal `doc` for every document it takes.**
|
||||
Today it holds for editor-normal documents only: two adjacent text nodes with the same marks
|
||||
merge, an empty `attrs`, `marks` or `content` drops, and `-0` reads back `0` — shapes pipelines
|
||||
@@ -26,11 +31,11 @@
|
||||
measured one.
|
||||
- **33 — Make a carried mark run cost the line one re-emit.** `adfToMarkdown` spends 23 s on one
|
||||
paragraph of 2000 × `un` plus `**-r**`: each run its flanking cannot spell re-emits the whole line
|
||||
before riding the carry, quadratic in the runs (Goal 10), and the plain reduction's
|
||||
before riding the carry, quadratic in the runs (Goal 8), and the plain reduction's
|
||||
`spellableLine` drops one mark per re-emit the same way. Make both linear.
|
||||
- **42 — Trim a text leaf's trailing blanks in linear time.** `plain-inline.ts`'s `leafEdges` finds
|
||||
the trail with an unanchored `/[ \t]*$/`, quadratic in a run of blanks inside one leaf: a
|
||||
paragraph of `a`, 80 000 spaces, `b` takes 6.5 s in `adfToPlainMarkdown` (Goal 10). Scan backward,
|
||||
paragraph of `a`, 80 000 spaces, `b` takes 6.5 s in `adfToPlainMarkdown` (Goal 8). Scan backward,
|
||||
as the expand title's trim does.
|
||||
- **34 — Read emphasis flanking by the whole character beside an astral symbol.** Check whether
|
||||
`line-escaping.ts`'s `charAt` and the parser's flanking read one UTF-16 unit beside an astral
|
||||
@@ -72,6 +77,10 @@
|
||||
Revisit: whether npm has added Gitea or self-hosted OIDC, and otherwise whether the release moves
|
||||
to the staged publish — which fits badly with publish-on-merge, and is the trade to weigh rather
|
||||
than discover on a red release run. It stays out of `0.2.0` knowing the cutoff may land first.
|
||||
- **8 — Ship a CLI, shaped around the personas.**
|
||||
- **9 — Ship an online sandbox: a web page with two textboxes converting between ADF and markdown on
|
||||
the library's browser build.**
|
||||
|
||||
## 0.4.0
|
||||
|
||||
- **8 — Ship a CLI.** Its goal and its persona land in the README's `## Goals` and `## Audience`
|
||||
with it.
|
||||
|
||||
Reference in New Issue
Block a user