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

Record the marks and colwidth spellings in the spec, decisions, changelog and migration guide

This commit is contained in:
2026-10-14 10:00:07 +02:00
parent 5e1ecd2d6c
commit e5435413b4
5 changed files with 21 additions and 13 deletions
+4
View File
@@ -66,6 +66,10 @@
- **Breaking:** `adfToLosslessMarkdown` writes a centered, uncaptioned external image whose one
mark is a link holding only `href` and `title` as `[![alt](url)](href "title")`, where it wrote the
`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`.
- 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.