Skip to content

Releases: showdownjs/showdown

1.7.1 (2017-06-02)

02 Jun 02:33
Compare
Choose a tag to compare

Release Notes

Important HOTFIX

Bug Fixes

  • HTML Parser: fix nasty bug where malformed HTML would hang showdown (6566c72), closes #393

1.7.0 (2017-06-01)

01 Jun 01:49
Compare
Choose a tag to compare

Release notes

This release has several bug fixes and implements some new features such as literalMidWordAsterisks, customizeHeaderId and others. It also has some performance improvements, namely regarding HTML parsing.

Bug Fixes

  • anchors: fix issue with brackets in link URL (7ba18dd), closes #390
  • excludeTrailingPunctuationFromURL: add comma to punctuation list (fa35fd5), closes #354
  • excludeTrailingPunctuationFromURLs: fix weird character when this option with simplifiedAutoLinks (71acff5), closes #378
  • HTML parsing: fix HTML parsing issues with nested tags (6fbc072), closes #357 #387
  • openLinksInNewWindow: encode _ to prevent clash with em (813f832), closes #379
  • package: update yargs to version 7.0.1 (#349) (9308d7b)
  • package: update yargs to version 8.0.1 (#385) (5fd847b)
  • simpleAutoLinks: URLs with emphasis/strikethrough are parsed (5c50675), closes #347
  • tables: pipe char can now be escaped (1ebc195), closes #345
  • url parsing: fix url edge case parsing in images and links (30aa18c)

Features

  • customizeHeaderId: add option for customizing header ids (94c570a), closes #383
  • images: add support for image's implicit reference syntax (0c6c07b), closes #366
  • literalMidWordAsterisks: add option for mid word asterisks (5bec8f9)
  • openLinksInNewWindow: add option to open all links in a new window (50235d6), closes #362 #337 #249 #247 #222

1.6.4 (2017-02-06)

01 May 17:39
Compare
Choose a tag to compare

Bug Fixes

  • encodeAmpsAndAngles: fix > and < encoding (7f43b79), closes #236
  • encodeEmail: now produces valid emails (605d8b7), closes #340
  • flavor: github: new version of github does not use prefix 'user-content' in headers (368f0b6)
  • hashCodeTags: escape code tags (41cb3f6), closes #339
  • italicsAndBold: fix double emphasis edge case (1832b7f)
  • paragraph: workaround QML bug (f7a429e), closes #246 #338
  • prefixHeaderId: make prefixHeaderId string be parsed along the generated id (f641a7d)

Features

  • flavor: ghost: add Ghost flavor (6374b5b)
  • flavor: original: add John Gruber's markdown flavor (6374b5b)

1.6.3 (2017-01-30)

30 Jan 22:42
Compare
Choose a tag to compare

Bug Fixes

  • codeSpans: add - and = to escaped chars inside code spans (4243a31)
  • italicsAndBold: fix inconsistency in italicsAndBold parsing (a4f05d4), closes #332
  • literalMidWordUnderscores: fix inconsistent behavior of emphasis and strong with literalMidWordUndescores (0292ae0), closes #333
  • paragraphs: fix empty lines generating empty paragraphs (54bf744), closes #334
  • strikethrough: fix striketrough being wrongly parsed inside codeSpans (169cbe8)

Features

  • events: add events to all subparsers (7d63a3e)

1.6.2 (2017-01-29)

29 Jan 23:34
Compare
Choose a tag to compare

Bug Fixes

  • escapeSpecialCharsWithinTagAttributes: add ~ and = to escaped chars (bfcc0e4)
  • strikethrough: allow escapinging tilde char (24d47d7), closes #331

Features

  • ghMentionsLink: add ability to define the generated url in @mentions (a4c24c9)

1.6.1 (2017-01-28)

28 Jan 02:51
Compare
Choose a tag to compare

Bug Fixes

  • simplifiedAutoLink: fix missing spaces before and after email addresses (5190b6a), closes #330

Features

  • encodeEmail: add option to enable/disable mail obfuscation (90c52b8)

Notes

This release also improves performance a bit (around 8%)

1.6.0 (2017-01-09)

09 Jan 02:41
Compare
Choose a tag to compare

Bug Fixes

  • ghCompatibleHeaderId: improve the number of removed chars (d499feb)
  • IE8: fix for IE8 error on using isUndefined function (561dc5f), closes #280
  • options: fix ghCompatibleHeaderId that was set as string instead of boolean (de7c37e)
  • simpleLineBreaks: fix simpleLineBreaks option not working with non-ASCII chars and markdown delimiters (b1c458a), closes #318 #323

Features

  • CLI: add -q (quiet) and -m (mute) mode to CLI (f3b86f0)
  • CLI:flavor: add flavor option to CLI (2d6cd1e)
  • getFlavor: add getFlavor method to showdown and Converter (0eaf105)
  • ghMentions: add support for github's @mentions (f2671c0), closes #51

BREAKING CHANGES:

  • CLI tool now uses the same option defaults as showdown main library. This mean
    the default flavor is vanilla and ghCodeBlocks options is enabled by default.

    To update, add --ghCodeBlocks="false" to the command.

1.5.5 (2016-12-30)

06 Jan 04:29
Compare
Choose a tag to compare

Features

  • ghCompatibleHeaderId: generate header ids compatible with github (db97a90), closes #320 #321

1.5.4 (2016-12-21)

21 Dec 09:07
Compare
Choose a tag to compare

Bug Fixes

  • horizontal rule: revert backwards incompatibility change (113f5f6), closes #317
  • simpleLineBreaks: fix simpleLineBreak option breaking lists html (ed4c33f), closes #316
  • parser slowness with certain inputs (da8fb53), closes #315

Features

  • requireSpaceBeforeHeadingText: option to make space between # and header text mandatory (5d19877), closes #277

1.5.2 (2016-12-17)

17 Dec 05:32
Compare
Choose a tag to compare

Bug Fixes

  • listeners: fix listeners typo (f0d25b7), closes #290
  • lists: lines with mutiple dashes being parsed as multilists (10b3410), closes #312
  • nbsp: nbsp are replaced with simple spaces (6e90f7c)