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

Name the node's path and the fault when not-an-adf-document refuses a node inside the document

This commit is contained in:
2026-11-10 21:47:18 +01:00
committed by Lillem4n
parent 328db9dd4a
commit 297ff0e7e3
5 changed files with 102 additions and 36 deletions
+3
View File
@@ -2,6 +2,9 @@
## Unreleased
- `readAdfDocument` and every converter name the node a `not-an-adf-document` refusal concerns:
`path` leads to it, and the message says what is wrong, such as which attribute holds a value
JSON cannot.
- **Breaking:** `portableMarkdownToAdf` reads more of GFM's pipe table. A body row holding fewer
cells than the header is padded with empty cells, where `0.3.1` returned `malformed-pipe-table`;
a table whose padding would add more cells than the table holds is `malformed-pipe-table`.