Releases: showdownjs/showdown
Releases · showdownjs/showdown
1.5.1 (2016-12-01)
Features
- simpleLineBreaks: option that parses linebreaks as
<br />
. This option enables linebreaks to always be treated as<br />
tags
without needing to add spaces in front of the line, the same way GitHub does. (0942b5e), closes #206 - excludeTrailingPunctuationFromURLs: option that excludes trailing punctuation from auto linked URLs. (d2fc2a0), closes #266 #308
1.5.0
Bug Fixes
- lists: enforce 4 space indentation in sublists (d51be6e)
- lists: fix sublists inconsistent behavior (9cfe8b1), closes #299
Features
- disableForced4SpacesIndentedSublists: option that disables the requirement of indenting nested sublists by 4 spaces. The option is disabled by default (0be39bc)
BREAKING CHANGES
- syntax for sublists is now more restrictive. Before, sublists SHOULD be
indented by 4 spaces, but indenting at least 2 spaces would work.
Now, sublists MUST be indented 4 spaces or they won't work.
With this input:
* one
* two
* three
Before (ouput):
<ul>
<li>one
<ul>
<li>two
<ul><li>three</li></ul>
<li>
</ul>
</li>
<ul>
After (output):
<ul>
<li>one</li>
<li>two
<ul><li>three</li></ul>
</li>
</ul>
To migrate either fix source md files or activate the option disableForced4SpacesIndentedSublists
:
showdown.setOption('disableForced4SpacesIndentedSublists', true);
1.4.4 (2016-11-02)
Bug Fixes
- make some regexes a bit faster and make tab char equivalent to 4 spaces (b7e7560)
- double linebreaks: fix double linebreaks in html output (f97e072), closes #291
- lists linebreaks: fix lists linebreaks in html output (2b813cd), closes #291
- parser: fix issue with comments inside nested code blocks (799abea), closes #288
1.4.3 (2016-08-19)
Bug Fixes
- bower: fix sourceMappingURL errors in bower by including source (9b5a233), closes #200
- comments: Fix html comment parser (238726c), closes #276
- ie8 compatibility: Improve ie8 compatibility (984942e), closes #275 #271
- simplifiedAutoLink: fix simplified autolink to match GFM behavior (0cc55b0), closes #284 #285
1.4.2 (2016-06-21)
Bug Fixes
- image-parser: fix ref style imgs after inline style imgs not parsing correctly (73206b0), closes #261
- tables: add check for undefined on text due to failing to parse tables (6e30a48), author stewartmckee, closes #257
Features
1.4.1 (2016-05-17)
1.4.0 (2016-05-13)
Bug Fixes
- hashHTMLBlock: fix issue with html breaking markdown parsing (2746949), closes #220
- HTMLParser: fix code tags parsing (71a5873), closes #231
- HTMLParser: fix ghCodeBlocks being parsed inside code tags (7d0436d), closes #229
- strikethrough: Fix strikethrough issue with escaped chars (5669317), closes #214
- tables: fix tables to match github's md spec (f58f014), closes #230
Features
1.3.0 (2015-10-19)
1.2.3 (2015-08-27)
Bug Fixes
- blockGamut: fix for headings inside blockquotes (3df70624, closes #191)
- blockQuote: fix 'github style codeblocks' not being parsed inside 'blockquote' (ed2cf595, closes #192)
- simpleAutoLinks: fix emails being treated as simple urls (7dc3fb1d, closes #187)
- tables: fix md tables being parsed inside indented code blocks. (50256233, closes #193)