3.0.0
⛄🎅🎄 Happy hollidays!
Today marks the release of remark, the markdown processor previously known as mdast, with, other than the cool name, many awesome updates.
- Completely rewritten parser, resulting in huge performance improvements (up-to 50% faster), and much more pluggable;
- Remove
escape
nodes from the AST (which is, by the way, now called mdast), meaning there’s no chance plug-ing authors accidentally insert markdown syntax into the tree; - Many different, miscellaneous bug-fixes.
Migrating
If you’re a plug-in author, see “Renaming from mdast to remark”.
- Update the dependency of
mdast
incomponent.json
andpackage.json
toremark
and, while there, update dependencies too. For the latter consult the list of plugins to see which are already renamed; - In
package.json
files, renamemdastConfig
toremarkConfig
; - Rename
.mdastrc
and.mdastignore
files to.remarkrc
and.remarkignore
.
Changelog
- Add migration guide and temporary warnings (269f521)
- Update list of plugins with project renames (fb0fea9)
- Rename
mdast
toremark
(38fe53d) - Fix bug where blockquotes had trailing spaces (a51f112)
- Refactor support for entities (0c7b649)
- Refactor code-style (3dc2485)
- Add documentation for interfacing with the parser (7a5d16d)
- Fix footnote definitions without spacing (46714b2)
- Fix empty
alt
value forimageReference
,image
(698d569) - Fix unclosed angle-bracketed definition (acebf81)
- Add escaping to compiler (d1fe019)
- Fix handling of definitions in commonmark-mode (b7d6e53)
- Fix handling of list-item bullets in gfm-mode (6e74759)
- Refactor to remove regular expressions (25a26f2)