Releases: quantizor/markdown-to-jsx
6.1.4
6.1.3
A minor release, patching various bugs. For those interested, we are now using the Daring Fireball markdown syntax document itself as one big test 😃
-
4d24c21 some style adjustments to the site
-
8385db1 add the markdown syntax explainer itself as a test
-
6d81300 handle block HTML a bit more elegantly
-
fd2a62a handle image & link references with a space
-
8689451 test all the various thematic break syntaxes
-
f174af1 handle consecutive headings with no padding newline
e.g.
# Hello world ## How are ya?
6.1.2
6.1.1
6.1.0
Some small quality-of-life updates:
- 83c4d37 merge className rather than overwriting it (needed for adding classes to fenced code blocks)
- 46e474e multiple inline returns should be wrapped in a paragraph tag, not a div
- 09a2885 export the markdown component as a functional component
- 99c5e38 emit source maps for debugging
#3
ended up yielding some size benefits - the library is now ~4.75kB
6.0.3
6.0.2
This package forked the very lightweight simple-markdown library and now uses its parsing infrastructure. On top of that core functionality, a bunch of improvements have been added:
-
All HTML is now supported natively and dangerouslySetInnerHTML
is no longer used under any circumstances. -
Package size is now just ~5kB gzipped, down from ~37kB.
-
Anything rendered via the Markdown component can be overridden now,
even the wrapper, footnote footer, etc.
I've been working on this release for a while and it took a while to get all the regexes working to my satisfaction. There will probably be bugs, so PRs are welcome to add regression tests as needed and get things tightened up.
Thank you!