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

Read a GFM pipe table's short rows, rows without a pipe and one column in portableMarkdownToAdf

This commit is contained in:
2026-11-09 11:27:40 +01:00
committed by Lillem4n
parent 429ec8ccb8
commit db2c395d05
27 changed files with 110 additions and 38 deletions
+4
View File
@@ -2,6 +2,10 @@
## Unreleased
- `portableMarkdownToAdf` reads GFM's pipe table further: a body row holding fewer cells than the
header is padded with empty cells, a line holding no `|` after the table is a row of one cell,
and `a |` over `--- |` is a one-column table. A row holding more cells stays an error result.
`MIGRATION.md` shows the change.
- `adfToPortableMarkdown` keeps a link around the note standing in place of a node it marks, such
as a stored image: `[_(image not included)_](https://example.com/a)`.
- **Breaking:** `readAdfDocument` replaces `isAdfDocument`: it returns a `Result<AdfDocument>` whose