Markdown component for React
createRoot
Full Changelog: https://github.com/remarkjs/react-markdown/compare/9.0.0...9.0.1
exports
migrate: don’t use private APIs@types/hast
, utilities, plugins, etc
migrate: update tootransformImageUri
, transformLinkUri
w/ urlTransform
migrate: see Add urlTransform
linkTarget
option
by @galabra in https://github.com/remarkjs/react-markdown/pull/762
migrate: see Remove linkTarget
4346276
Remove support for passing custom props to components
migrate: see Remove includeElementIndex
, Remove rawSourcePos
, Remove sourcePos
, Remove extra props passed to certain components
c0dfbd6
Remove UMD bundle from package
migrate: use esm.sh
or a CDN or soe12b5e9
Remove prop-types
migrate: use TypeScript4eb7aa0
Change to throw errors for removed props
migrate: don’t pass options that don’t do things8aabf74
Change to improve error messages
migrate: expect better messagesFull Changelog: https://github.com/remarkjs/react-markdown/compare/8.0.7...9.0.0
Full Changelog: https://github.com/remarkjs/react-markdown/compare/8.0.6...8.0.7
Full Changelog: https://github.com/remarkjs/react-markdown/compare/8.0.5...8.0.6
node16
module resolution in tsconfig.json
by @ChristianMurphy in https://github.com/remarkjs/react-markdown/pull/723
plugins
deprecation message
by @marc2332 in https://github.com/remarkjs/react-markdown/pull/719
defaultProps
by @Lepozepo in https://github.com/remarkjs/react-markdown/pull/718
Full Changelog: https://github.com/remarkjs/react-markdown/compare/8.0.4...8.0.5
td
, th
props
by @lucasassisrosa in https://github.com/remarkjs/react-markdown/pull/714
alt
on img
in docs
by @cballenar in https://github.com/remarkjs/react-markdown/pull/692
Full Changelog: https://github.com/remarkjs/react-markdown/compare/8.0.3...8.0.4
Full Changelog: https://github.com/remarkjs/react-markdown/compare/8.0.2...8.0.3
react-is
Full Changelog: https://github.com/remarkjs/react-markdown/compare/8.0.1...8.0.2
Full Changelog: https://github.com/remarkjs/react-markdown/compare/8.0.0...8.0.1
cd845c9
Remove deprecated plugins
option
(migrate by renaming it to remarkPlugins
)36e4916
Update remark-rehype
, add support for passing it options
by @peolic in #669
(migrate by removing remark-footnotes
and updating remark-gfm
if you were using them, otherwise you shouldn’t notice this)Full Changelog: https://github.com/remarkjs/react-markdown/compare/7.1.2...8.0.0