Skip to content

Releases: ariabuckles/simple-markdown

0.4.3: Fix flow 0.86+ errors

13 Mar 20:50
Compare
Choose a tag to compare

0.4.2: Fix escape sequences in em/strong tags

28 Aug 18:41
Compare
Choose a tag to compare

0.4.2 is a bugfix release with the following changes:

25cc9b3 : Export htmlTag() and reactElement(). Note: these should be considered experimental and the APIs are still subject to change in 1.0.

95d794f : Fix escape sequences in italics/em rule/

09e55b4 : Fix escape sequences in bold/strong rule

The latter two have been things that have been bothering me for quite some time now >_<.

~Aria

0.4.0: Improved flow types, new `outputFor` API

27 Apr 19:36
Compare
Choose a tag to compare

This release contains a lot of code changes, but the README isn't quite ready yet.

However, this release should address some issues users are seeing, and we can use this version as a dependency of other projects with fewer quirks.

Hoping to get the documentation and maybe a 1.0 soon.

Better nested list parsing

11 Mar 01:15
Compare
Choose a tag to compare

Fixes #48 ; see 3e926f5 for more information.

0.3.2: Better React 16 compat & better table parsing

05 Jan 23:09
Compare
Choose a tag to compare

This version includes better compatibility with react 16, thanks to @sophiebits and @sapegin, and some table parsing bugfixes, thanks to @dgca!

Other news: I'm working on some bigger changes for a potential 1.0!

0.3.1: React 16 compatibility & Html link definition fix

13 Sep 19:06
Compare
Choose a tag to compare

Bugfix for #31 (thanks @mgreer!), and a bugfix for link definitions ([1]: http://example.com "like this").

0.3.0: Better nested bold/italics parsing

03 Sep 03:11
Compare
Choose a tag to compare

Make rules at the same order compete with each other

This solves the em/strong interaction problem in a more general way,
allowing us to have, in general, rules that have the same tokens, and
have their precedence resolved by match quality (here longest match),
instead of requiring a forced precedence between them.

This change adds one new method to the rule API: quality.

If present, quality must be a function that returns a number, indicating
the quality of the match/capture. This is used by bold/italics/u to
decide between which rule should capture a string that matches multiple
rules. If multuple rules are at the same order and have quality
functions, whichever rule's quality function returns the higher number
will win the match. If there are also rules at the same order without a
quality function, they will only win the match if none of the rule with
quality functions match.

0.2.2: DoS bugfix

03 Sep 03:10
Compare
Choose a tag to compare

Fix an infinite loop/DoS vuln in the link rule

Makes the same modification from marked in this commit:
markedjs/marked@d53f206

Fixes issue #29

Minor regex backtracking bugfix

10 Jun 01:37
Compare
Choose a tag to compare

Cleans up the em regex a bit which should make it a tiny bit faster (and probably more importantly, makes the code work how it intends to, instead of by coincidence >_<). See 50b12c .

0.1.0: Stable and with minification

26 May 17:59
Compare
Choose a tag to compare

This release adds simple-markdown.min.js.

simple-markdown has been pretty stable for a while now, so this will be 0.1.0 instead of 0.0.10.

There are no breaking changes in this release, despite the numbering scheme. Sorry :/