mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-19 14:45:44 +01:00
Match a reference label to its definition under Unicode case folding
This commit is contained in:
@@ -47,6 +47,14 @@ for (const element of document.querySelectorAll('[data-text-color]')) element.st
|
||||
|
||||
`losslessMarkdownToAdf` reads the first two as before.
|
||||
|
||||
### Readings
|
||||
|
||||
Markdown that `0.4.0` reads as a different document.
|
||||
|
||||
| Input | `0.3.1` | `0.4.0` |
|
||||
| --- | --- | --- |
|
||||
| a reference matching its definition only under Unicode case folding (`[ẞ]` with `[SS]: /url`, `[Straße]` with `[STRASSE]: /url`) | literal text, the definition dropped | the link; escape the opening bracket (`\[ẞ]`) to keep the text literal |
|
||||
|
||||
## From `0.2.0` to `0.3.0`
|
||||
|
||||
Every reader skips code text when it spells a mark other than a link, and `losslessMarkdownToAdf`
|
||||
|
||||
Reference in New Issue
Block a user