The Markdown parser will now correctly set the tight
attribute on list nodes.
Markdown parse specs can now be specified as noCloseToken
, which will cause the parser to treat them as a single token, rather than a pair of _open
/_close
tokens.
Don't allow hard_break nodes in headings.
Fix issue that broke parsing ordered lists with a starting number other than 1.
Don't use short-hand angle bracket syntax when outputting self-linking URLs that are relative.
Rename ES module files to use a .js extension, since Webpack gets confused by .mjs
The file referred to in the package's module
field now is compiled down to ES5.
Add a module
field to package json file.
Code blocks in the schema no longer allow marks inside them.
Code blocks are now parsed with preserveWhiteSpace: full
, preventing removal of newline characters.
Fix a bug that could occur when parsing multiple adjacent pieces of text with the same style.
Inline code containing backticks is now serialized wrapped in the appropriate amount of backticks.
The serializer now serializes links whose target is the same as their text content using < > syntax.
Mark opening and close string callbacks now get passed the mark's context (parent fragment and index).
Hard breaks at the end of an emphasized or strong mark are no longer serialized to invalid Markdown text.
Fixes a bug where inline mark delimiters were serialized incorrectly (the closing and opening marks were swapped, which was only noticeable when they are different).
Fixes an issue where the Markdown serializer would escape special characters in inline code.
Upgrade the markdown-it dependency to version 8.
Fix bug that caused superfluous backslashes to be inserted at the start of some lines when serializing to Markdown.
You can now override the handling of softbreak tokens in a custom handler.
Fix crash when serializing marks with line breaks inside of them.
Fix dependency version range for prosemirror-model.
Code blocks are always wrapped in triple backticks when serializing, to avoid parsing corner cases around indented code blocks.
Link marks are now non-inclusive (typing after them produces non-linked text).
First stable release.