Skip to content

Releases: showdownjs/showdown

1.5.1 (2016-12-01)

01 Dec 15:44
Compare
Choose a tag to compare

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

11 Nov 08:58
Compare
Choose a tag to compare

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)

02 Nov 21:18
Compare
Choose a tag to compare

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)

02 Nov 16:36
Compare
Choose a tag to compare

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)

21 Jun 01:27
Compare
Choose a tag to compare

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

  • smart-indent-fix: fix for es6 indentation problems (261f127), closes #259

1.4.1 (2016-05-17)

17 May 20:37
Compare
Choose a tag to compare

Bug Fixes

  • tables: fix table heading separators requiring 3 dashes instead of 2 (ddaacfc), closes #256

1.4.0 (2016-05-13)

13 May 15:34
Compare
Choose a tag to compare

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

  • markdown="1": enable parsing markdown inside HTML blocks (c97f1dc), closes #178

1.3.0 (2015-10-19)

19 Oct 02:29
Compare
Choose a tag to compare

Bug Fixes

  • literalMidWordUnderscores: fix different behavior with asterisks (e86aea8), closes #198
  • simpleautolink: fix mail simpleAutoLink to ignore urls with @ symbol (8ebb25e), closes #204

Features

  • eventDispatcher: add an event dispatcher to converter (2734326)
  • hashHTMLSpans: add support for hashing span elements (3097bd4), closes #196 #175

1.2.3 (2015-08-27)

27 Aug 04:28
Compare
Choose a tag to compare

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)

1.2.2 (2015-08-02)

02 Aug 15:10
Compare
Choose a tag to compare

Bug Fixes