This repository has been archived by the owner on Nov 5, 2020. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.3.1
->5.0.2
Release Notes
remarkjs/react-markdown
v5.0.2
Compare Source
4dadaba
Fix to allow combining
allowedTypes
,unwrapDisallowed
in typesv5.0.1
Compare Source
c3dc5ee
Fix to not crash on empty text nodes
v5.0.0
Compare Source
BREAKING
Maintained by unified
This project is now maintained by the unified collective, which also houses the
underlying tools used in
react-markdown
: hundreds of projects for working withmarkdown and markup related things (including MDX).
We have cleaned the project: updated dependencies, improved
docs/tests/coverage/types, cleaned the issue tracker, and fixed a couple of
bugs, but otherwise much should be the same.
Upgrade
remark-parse
The parser used in
react-markdown
has been upgraded to the latest version.It is now 100% CommonMark compliant: that means it works the same as in other
places, such as Discourse, Reddit, Stack Overflow, and GitHub.
Note that GitHub does extend CommonMark: to match how Markdown works on GitHub,
use the
remark-gfm
plugin.remark-parse@9.0.0
remark-parse@8.0.0
remark-parse@7.0.0
remark-parse@6.0.0
New serializer property:
node
A new
node
prop is passed to all non-tag/non-fragment renderers.This contains the raw mdast AST node,
which opens up a number of interesting possibilities.
The breaking change is for renderers which blindly spread their props to an
underlying component/tag.
For instance:
Should now be written as:
List/list item
tight
property replaced byspread
Previously, the
tight
property would hint as to whether or not list itemsshould be wrapped in paragraphs.
This logic has now been replaced by a new
spread
property, which behavesslightly differently.
Read more.
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.