Releases: quantizor/markdown-to-jsx
5.0.2
5.0.0
See the README for updated usage instructions, here's a quick preview:
import Markdown from 'markdown-to-jsx';
import React from 'react';
import {render} from 'react-dom';
render((
<Markdown>
# Hello world!
</Markdown>
), document.body);
/*
renders:
<h1>Hello world!</h1>
*/38efb41 [Breaking Change] Default export is now a React HOC
573021c Update Jest
bf31694 chore(package): update autoprefixer-stylus to version 0.13.0
aef6471 chore(package): update jest-cli to version 17.0.0
b1088c0 chore(package): update babel-jest to version 17.0.0
8c0b7a5 chore(package): update autoprefixer-stylus to version 0.11.0
883d728 chore(package): update jest-cli to version 16.0.0
a504cc2 chore(package): update babel-jest to version 16.0.0
4.0.3
First release of 4.x 🎉
Rollup of 4.x changes:
25f70a6 Allow overrides for GFM task list items & associated checkboxes
3395105 Override support for pre & code elements generated in astToJSX
4249c15 Fix rendering of inline code tags -- thank you @sapegin!
2a00f5a [Experimental] Coalesce/parse nested inline tags
f269a87 [pre 4.0] Drop second argument in function signature
f50219b [Experimental] Begin parsing inline arbitrary HTML
c381ddd Light refactor to pull some functions out of the main closure
4.0.3-beta
4.0.2-beta
4.0.1-beta
2a00f5a [Experimental] Coalesce/parse nested inline tags
4.0.0-beta
3.1.1
Monkeypatched over a markdown syntax ambiguity that resulted in an exception when when a square-bracketed link without a shortcut identifier is encountered, e.g.
Oh my god, look at [her butt].According to Daring Fireball markdown syntax, a link reference may omit the shortcut identifier if it's desired to use the original text as the reference, but the empty square brackets still must be included, e.g.
Oh my god, look at [her butt][].
[her butt]: https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjxjMnL2JLPAhXKQCYKHfFVAR0QyCkIITAA&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DLDZX4ooRsWs&usg=AFQjCNHb65jFtOPwGi7HZITW5qJ2PBlURA3.1.0
06eb4c6 Use remark subdeps directly for parsing, remove unnecessary try/catch
80fd5f5 chore(package): update jest-cli to version 15.1.1
2f10810 Update package.json
954c437 chore(package): update jest-cli to version 15.1.0
66b9627 chore(package): update babel-jest to version 15.0.0
e50dafe chore(package): update babel-preset-es2015 to version 6.14.0
3d06fc4 chore(package): update babel-cli to version 6.14.0
e04c67b chore(package): update babel-preset-es2015 to version 6.13.2
58eca18 chore(package): update babel-preset-es2015 to version 6.13.1
21d5358 chore(package): update babel-preset-stage-2 to version 6.13.0
6bc57d0 chore(package): update jest-cli to version 14.1.0
86fe72f chore(package): update babel-jest to version 14.1.0
2eaaf28 chore(package): update jest-cli to version 14.0.1
1d5ba4f chore(package): update babel-jest to version 14.0.2
0b8ce2d chore(package): update jest-cli to version 14.0.0
0d40051 chore(package): update babel-jest to version 14.0.0
5eacb83 chore(package): update babel-cli to version 6.11.4
b9cd7f4 chore(package): update jest-cli to version 13.2.3
0b81473 chore(package): update jest-cli to version 13.1.0
3.0.0
Implement proper handling for "tight" lists (ccbfdf8) In the case of a "tight" list--meaning a markdown list with no padding newline between entries--the inner paragraph generated by the AST parser is now automatically stripped out as expected.
Automatically remove the root <div> wrapper for singular children (e5b1453) The root <div> is now discarded for all scenarios where there is only one top-level element. This prevents the need to add a class to all the wrappers to make them inline or change the block flow.
Misc commits
- Fix a test made brittle by the React
<span>-> comment change (841c56e) - Automatically test all supported major React versions (517ea64)
- chore(package): update babel-preset-react to version 6.11.1 (b4363ee)
- chore(package): update babel-preset-stage-2 to version 6.11.0 (0adac9a)
- chore(package): update jest-cli to version 13.0.0 (36f7a71)
- chore(package): update babel-jest to version 13.0.0 (859a31c)
- chore(package): update remark to version 4.2.2 (d70df94)
- chore(package): update babel-cli to version 6.10.1 (e8e4920)
- chore(package): update babel-jest to version 12.1.0 (92be820)
- chore(package): update jest-cli to version 12.1.1 (c65ebbd)
- Update package.json (84c7f80)
- chore(package): update react-dom to version 15.1.0 (ce6b53e)
- chore(package): update babel-preset-es2015 to version 6.9.0 (a9b34c9)
- chore(package): update babel-cli to version 6.9.0 (b1606ec)
- More rigorous CI testing (ffd8209) Enforce an engine version >= node 0.12
- chore(package): update react to version 15.0.2 (07785e4)
- chore(package): update babel-cli to version 6.8.0 (85e0aa5)
- chore(package): update react-dom to version 15.0.1 (9e4bfc7)
- chore(package): update react to version 15.0.1 (f0569a2)
- 2.0.1 (7b9d495) Updated internals, no user-facing changes. Now testing against React 15.x
- Update dev deps & fix test for React v15 (b9c56ca)