Tags: ProseMirror/prosemirror-markdown
Tags
Version 1.13.0 ### Bug fixes Fix the type of `MarkdownParser.parse` to be non-nullable. Add a strict option to MarkdownSerializer ### New features The new `strict` option to `MarkdownSerializer` makes it possible to make the serializer ignore node and mark types it doesn't know.
Version 1.12.0 ### Bug fixes Block-level markup inside a heading is no longer escaped by the serializer. Do not backslash-escape a `+` at the start of line when it isn't followed by a space. Upgrade to markdown-it 14 ### New features `MarkdownSerializerState.renderInline` now takes a parameter that controls whether block-level markup should be escaped. Upgrade to markdown-it version 14, which provides ES modules.
Version 1.11.2 ### Bug fixes Fix some unnecessary escapes for period characters in Markdown serialization. Only escape `#` signs if they would otherwise create a heading. Add a test for headings in list items Fix a bug in `MarkdownSerializer` that broken expelling of whitespace from marks when the mark spanned multiple nodes.
Version 1.11.0 ### Bug fixes Make sure blank lines at the end of code blocks are properly serialized. Convert soft breaks (single newlines) in Markdown to spaces, rather than newlines in the ProseMirror document, because newlines tend to behave awkwardly in the editor. Fix a bug that cause the object passed as configuration to `MarkdownSerializer` to be mutated. Add release note Include CommonJS type declarations in the package to please new TypeScript resolution settings. ### New features A new option to `MarkdownSerializer` allows client code to configure which node type should be treated as hard breaks during mark serialization. Remove the extra left bracket
Version 1.10.1 ### Bug fixes Don't treat the empty string the same as `null` in `wrapBlock`'s `firstDelim` argument. Check content of code blocks for any sequence of backticks Use longer sequences of backticks when serializing a code block that contains three or more backticks in a row.
PreviousNext