npm showdown 1.8.0
1.8.0 (2017-10-24)

latest releases: 2.1.0, 2.0.4, 2.0.3...
6 years ago

NOTICE

Don't use the CDNjs version of this release. See issue #452 for more details.

Bug Fixes

  • autolinks: prevent _ and * to be parsed in links (61929bb), closes #444

Features

  • ellipsis: add auto-ellipsis support (25f1978)

    • Example:

      input

      this is an ellipsis...

      output

      <p>this is an ellipsis…</p>
  • emoji: add emoji support through option emoji(5b8f1d3), closes #448

    • Usage:

      var conv = new showdown.Converter({emoji: true});
    • Example:

      input

      this is a smile :smile: emoji

      output

      <p>this is a smile 😄 emoji</p>
  • start ordered lists at an arbitrary number: add support for defining the first item number of ordered lists (9cdc35e), closes #377

    • Example:

      input

      3. foo
      4. bar
      5. baz

      output

      <ol start="3">
        <li>foo</li>
        <li>bar</li>
        <li>baz</li>
      </ol>
  • underline: add EXPERIMENTAL support for underline (084b819), closes #450

    • Usage:

      var conv = new showdown.Converter({underline: true});
    • Example:

      input

      this is __underlined__ and this is ___also underlined___

      output

      <p>this is <u>underlined</u> and this is <u>also underlined</u></p>
    • Note: With this option enabled, underscore no longer parses as <em> or <strong>

BREAKING CHANGES

  • start ordered lists at an arbitrary number: Since showdown now supports starting ordered lists at an arbitrary number, list output may differ.

Don't miss a new showdown release

NewReleases is sending notifications on new releases.