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

Answer principles round 2: 1 🔴, 1 🟡; bound the collapsed label at 999 too, pinned by a test

This commit is contained in:
2026-10-23 11:04:43 +02:00
committed by Lillem4n
parent f1aca51916
commit ddcfa6ee1a
3 changed files with 16 additions and 2 deletions
+2
View File
@@ -37,6 +37,8 @@
20 lines of 40000 tabs under 80000 nested items took 1988 ms.
- `losslessMarkdownToAdf` takes time linear in the markdown when an inline directive's `[content]`
holds many unclosed backtick runs: 640000 characters of them took one second, now 100 ms.
- Every reader leaves `[text]` and `[text][]` literal when the text runs over 999 characters, where
it read them as a link to the matching definition: CommonMark caps a link label at 999 characters.
- The README compares the package with seven other ADF converters, each checked against its
published version.