3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-20 15:15:44 +01:00

Answer architecture round 1: 2 🔴, 5 🟡; nesting counts the JSON fallback alone, one mark attrs read and spell, one mark table, a malformed mark is unsupported-node-shape, the old colwidth names the comma list, README and notes name the attrs fallback

This commit is contained in:
2026-10-14 10:09:06 +02:00
committed by Lillem4n
parent 9e9d88a8e4
commit c8ea357fa7
16 changed files with 88 additions and 68 deletions
+2 -2
View File
@@ -68,8 +68,8 @@
`mediaSingle` directive. Convert stored markdown per `MIGRATION.md`.
- **Breaking:** `colwidth` is spelled as its widths joined by commas, `colwidth="340,420"`, where it
was a JSON array, and a block's `marks` names each mark with its attributes,
`marks="breakout{mode=wide}"`, where it was a JSON array. The JSON array stays only for a block
mark the flavour does not list. Convert stored markdown per `MIGRATION.md`.
`marks="breakout{mode=wide}"`, where it was a JSON array. The JSON array stays only where a mark's
type or attributes are ones the flavour does not list. Convert stored markdown per `MIGRATION.md`.
- Fix the time `adfToLosslessMarkdown` and `adfToPortableMarkdown` take on text holding a long run of
`*`, `_`, `~` or backticks, or a heading ending in a long run of `#`: the time is linear in the
run, and a run of 20000 `*` takes milliseconds where it took seconds.