Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-markdown

Package Overview
Dependencies
Maintainers
2
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-markdown - npm Package Versions

1
10

3.2.0

Diff

Changelog

Source

3.2.0 - 2018-02-12

Added

  • Allow overriding text renderer (Thibaud Courtoison)
rexxars
published 3.1.5 •

Changelog

Source

3.1.5 - 2018-02-03

Fixes

  • Only use first language from code block (Espen Hovlandsdal)
rexxars
published 3.1.4 •

Changelog

Source

3.1.4 - 2017-12-30

Fixes

  • Enable transformImageUri for image references (evoye)
rexxars
published 3.1.3 •

Changelog

Source

3.1.3 - 2017-12-16

Fixes

  • Exclude babel config from npm package (Espen Hovlandsdal)
rexxars
published 3.1.2 •

Changelog

Source

3.1.2 - 2017-12-16

Fixes

  • Fixed partial table exception (Alexander Wong)
rexxars
published 3.1.1 •

Changelog

Source

3.1.1 - 2017-12-11

Fixes

  • Add readOnly property to checkboxes (Phil Rajchgot)
rexxars
published 3.1.0 •

Changelog

Source

3.1.0 - 2017-11-30

Added

  • Support for checkbox lists (Espen Hovlandsdal)

Fixes

  • Better typings (Igor Kamyshev)
rexxars
published 3.0.2 •

rexxars
published 3.0.1 •

Changelog

Source

3.0.1 - 2017-11-21

Added

  • Experimental support for plugins (Espen Hovlandsdal)

Changes

  • Provide more arguments to transformLinkUri/transformImageUri (children, title, alt) (mudrz)
rexxars
published 3.0.0 •

Changelog

Source

3.0.0 - 2017-11-20

Notes

  • FULL REWRITE. Changed parser from CommonMark to Markdown. Big, breaking changes. See BREAKING below.

Added

  • Table support!
    • New types: table, tableHead, tableBody, tableRow, tableCell
  • New type: delete (~~foo~~)
  • New type: imageReference
  • New type: linkReference
  • New type: definition
  • Hacky, but basic support for React-native rendering of attributeless HTML nodes (<kbd>, <sub>, etc)

BREAKING

  • Container props removed (containerTagName, containerProps), override root renderer instead
  • softBreak option removed. New solution will be added at some point in the future.
  • escapeHtml is now TRUE by default
  • HtmlInline/HtmlBlock are now named html (use isBlock prop to check
    if inline or block)
  • Renderer names are camelcased and in certain cases, renamed. For instance:
    • Emph => emphasis
    • Item => listItem
    • Code => inlineCode
    • CodeBlock => code
    • linebreak/hardbreak => break
  • All renderers: literal prop is now called value* List renderer: type prop is now a boolean named ordered (Bullet => false, Ordered => true)
  • walker prop removed. Code depending on this will have to be rewritten to use the astPlugins prop, which functions differently.
  • allowNode has new arguments (node, index, parent) — node has different props, see renderer props
  • childBefore and childAfter props removed. Use root renderer instead.
  • parserOptions removed (new parser, so the old options doesn’t make sense anymore)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc