|
| 1 | +## Unreleased |
| 2 | + |
| 3 | +* The package now requires `mmark-0.1` and `mmark-ext-0.3` or later. |
| 4 | + |
| 5 | +* `--ext-footnotes` now checks the footnotes of a document: a reference that |
| 6 | + leads nowhere, a footnote that nothing refers to, a footnote that is |
| 7 | + defined twice, and more than one footnote section are all reported as |
| 8 | + errors. |
| 9 | + |
| 10 | +* `--ext-toc` reports a document that asks for a table of contents but has |
| 11 | + no headings to put in one. The table of contents is also inserted before |
| 12 | + the other extensions run now, so `--ext-punctuation` applies to it too. |
| 13 | + |
| 14 | +* Added the following extensions, all new in `mmark-ext-0.3`: |
| 15 | + |
| 16 | + * `--ext-emoji`, which replaces `:shortcode:` with the emoji it names |
| 17 | + and reports a name it does not recognize. |
| 18 | + * `--ext-lazy-images`, which gives every image `loading="lazy"` and |
| 19 | + `decoding="async"`. |
| 20 | + * `--ext-line-highlight`, which points at the lines of a code block |
| 21 | + named by its info string, as in ```` ```haskell {2,4-6} ````. Both |
| 22 | + syntax highlighters read the same specification, so this renders the |
| 23 | + blocks they do not take. |
| 24 | + * `--ext-mermaid`, which renders a `mermaid` code block as `<pre |
| 25 | + class="mermaid">` for the mermaid script to pick up in the browser. |
| 26 | + * `--ext-permalinks`, which appends to every heading a link to its own |
| 27 | + id. |
| 28 | + |
| 29 | +* Removed `--ext-font-awesome` and `--ext-obfuscate-email`, because the |
| 30 | + extensions behind them are gone from `mmark-ext-0.3`. |
| 31 | + |
1 | 32 | ## MMark CLI 0.0.5.2 |
2 | 33 |
|
3 | 34 | * Maintenance release with more minimal dependencies. |
|
0 commit comments