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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user