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

Keep the link around a note in adfToPortableMarkdown, chosen in shown-text beside the image's

This commit is contained in:
2026-11-09 09:14:03 +01:00
committed by Lillem4n
parent 67e89da171
commit 2aa246898d
8 changed files with 51 additions and 31 deletions
+3
View File
@@ -2,6 +2,9 @@
## Unreleased
- `adfToPortableMarkdown` keeps the link marking a stored image, an extension or a card with no
text around the note standing in its place, so its target is no longer dropped:
`[_(image not included)_](https://example.com/a)`.
- **Breaking:** `readAdfDocument` replaces `isAdfDocument`: it returns a `Result<AdfDocument>` whose
error names the branch that refused, and `MIGRATION.md` shows the change.
- `readAdfDocument`, `adfToHtml`, `adfToLosslessMarkdown` and `adfToPortableMarkdown` read the