showdown

A bidirectional Markdown to HTML to Markdown converter written in Javascript

MIT License

Downloads
2.9M
Stars
13.9K
Committers
84

Bot releases are hidden (Show)

showdown - 2.1.0 Latest Release

Published by tivie over 2 years ago

2.1.0 (2022-04-21)

BREAKING CHANGES

  • the CLI no longer accepts "extra options". Instead you should pass the -c flag. To update:

before:

showdown makehtml -i foo.md -o bar.html --strikethrough --emoji

after:

showdown makehtml -i foo.md -o bar.html -c strikethrough -c emoji
showdown - 2.0.4 (2022-04-21)

Published by tivie over 2 years ago

2.0.4 (2022-04-21)

  • test(cli): Add test for multiple config options (914129f), closes #916

Bug Fixes

  • cli: cli displays the correct version number (8b48882)
showdown - 2.0.3 (2022-03-08)

Published by tivie over 2 years ago

Bug Fixes

  • cli: fix cli to work with yargs (f8c4bd2), closes #893
showdown - 2.0.0 (2022-02-15)

Published by SyntaxRules over 2 years ago

2.0.0 is mostly a maintenance release. There are only a few changes beyond 1.9.1 as noted below. The major driver of this update is to update the yargs dependency to a more recent version without security issues.

Breaking Changes

  • Supported Node Versions were set to match the node release schedule which at the time of writing includes Node 12.x, 14.x, 16.x and 17.x
  • The yargs dependency was updated to ^17.2.1 to mitigate a security issue.
  • The Showdown license has been changed from BSD-3-Clause to MIT

Bug Fixes

Features

  • Added ellipsis option to configure if the ellipsis unicode character is used or not. ( Thanks @VladimirV99 )
  • Added a default security policy. Please report security issues to the issues tab on GitHub.
showdown - 2.0.0-alpha (2022-02-01)

Published by SyntaxRules over 2 years ago

2.0.0-alpha is mostly a maintenance release. There are only a few changes beyond 1.9.1 as noted below. The major driver of this update is to update the yargs dependency to a more recent version without security issues.

Breaking Changes

  • Supported Node Versions were set to match the node release schedule which at the time of writing includes Node 12.x, 14.x, 16.x and 17.x
  • The yargs dependency was updated to ^17.2.1 to mitigate a security issue.
  • The Showdown license has been changed from BSD-3-Clause to MIT

Bug Fixes

Features

    • Added ellipsis option to configure if the ellipsis unicode character is used or not. ( Thanks @VladimirV99 )
showdown - 1.9.1 (2019-11-02)

Published by tivie almost 5 years ago

Bug Fixes

  • openLinksInNewWindow: add rel="noopener noreferrer" to links (1cd281f), closes #670

Dependecy update

  • yargs: update yargs to latest version ^14.2 (dae65c6)
showdown - 1.9.0 (2018-11-10)

Published by tivie almost 6 years ago

Version 1.9.0 introduces a new feature, the HTML to Markdown converter. This feature is still experimental and is a partial backport of the new Reverse Converter planned for version 2.0.

Bug Fixes

  • italicsAndBold: fix issue with consecutive spans (#608) (5c0d67e), closes #544
  • underline: fix issue with consecutive spans (81edc70)

Features

  • converter.makeMarkdown: [EXPERIMENTAL] add an HTML to MD converter (e4b0e69), closes #388 #233
showdown - 1.8.7 (2018-10-16)

Published by tivie about 6 years ago

Bug Fixes

  • emojis: fix emoji excessive size (4aca41c)
  • gfm-codeblocks:
    • add support for spaces before language declaration (24bf7b1), closes #569
    • leading space no longer breaks gfm codeblocks (828c32f), closes #523
  • images: fix js error when using image references (980e702), closes #585
  • literalMidWordAsterisks: now parses single characters enclosed by * correctly (fe70e45), closes #478
  • mentions: allow for usernames with dot, underscore and dash (dfeb1e2), closes #574
  • nbsp: fix replacing of nbsp with regular spaces (8bc1f42)
showdown - 1.8.6 (2017-12-22)

Published by tivie almost 7 years ago

Features

  • splitAdjacentBlockquotes: add option to split adjacent blockquote blocks (da328f2), closes #477
showdown - 1.8.5 (2017-12-10)

Published by tivie almost 7 years ago

Features

  • completeHTMLDocument: add option to output a complete HTML document (a8427c9)
  • metadata: add support for embedded metadata (63d949f), closes #260
showdown - 1.8.4 (2017-12-05)

Published by tivie almost 7 years ago

Bug Fixes

  • tables: raw html inside code tags in tables no longer breaks tables (4ef4c5e), closes #471
showdown - 1.8.3 (2017-11-28)

Published by tivie almost 7 years ago

Bug Fixes

  • literalMidWordAsterisks: no longer treats colon as alphanumeric char (21194c8), closes #461
  • spanGamut: code spans are hashed after parsing (f4f63c5), closes #464
  • tables: pipe character in code spans no longer breaks table (0c933a0), closes #465
showdown - 1.8.2 (2017-11-11)

Published by tivie almost 7 years ago

Bug Fixes

  • fenced codeblocks: add tilde as fenced code block delimiter (c956ede), closes #456
  • openLinksInNewWindow: hash links are not affected by the option (11936ec), closes #457
showdown - 1.8.1 (2017-11-01)

Published by tivie almost 7 years ago

Dependencies update

  • package: update yargs to version 10.0.3 (#447) (906b26d)

Bug Fixes

  • CDNjs: bump version to fix version missmatch with CDNjs (#452)
showdown - 1.8.0 (2017-10-24)

Published by tivie almost 7 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.
showdown - 1.7.6 (2017-10-06)

Published by tivie about 7 years ago

Bug Fixes

  • tables: tables are properly rendered when followed by a single linebreak and a list (d88b095), closes #443
  • tables: trailing spaces no longer prevent table parsing (66bdd21), closes #442
showdown - 1.7.5 (2017-10-02)

Published by tivie about 7 years ago

Bug Fixes

  • html-comments: changed regex to prevent malformed long comment to freeze showdown (3efcd10), closes #439
showdown - 1.7.4 (2017-09-08)

Published by tivie about 7 years ago

Bug Fixes

  • helper.isArray: replace a.constructor === Array with Array.isArray (466a2eb), closes #425
  • loader: allow AMD loader to be used within Node env (ff24bdb)

Features

  • base64-wrapping: support for wrapping base64 strings (8c593a4), closes #429
showdown - 1.7.3 (2017-08-23)

Published by tivie about 7 years ago

Bug Fixes

  • github flavor: add backslashEscapesHTMLTags to GFM flavor (5284439)
  • literalMidWordAsterisks: option no longer treats punctuation as word character (8f05be7), closes #398
  • tables: allow for one column table (fef110c), closes #406

Features

  • rawHeaderId: Remove only spaces, ' and " from generated header ids (1791cf0), closes #409
  • rawPrefixHeaderId: add option to prevent showdown from modifying the prefix (ff26c08), closes #409
showdown - 1.7.2 (2017-08-05)

Published by tivie about 7 years ago

Bug Fixes

  • githubMentions: githubMentions now works with openLinksInNewWindow options (1194d88), closes #403
  • lists: fix multi paragraph lists with sublists (a2259c0), closes #397
  • tablesHeaderId: fix missmatch of option name (51e4693), closes #412

Features

  • backslashEscapesHTMLTags: backslash escapes HTML tags (5a5aff6), closes #374
Package Rankings
Top 0.41% on Npmjs.org
Top 2.69% on Clojars.org
Top 3.6% on Proxy.golang.org
Top 11.88% on Repo1.maven.org
Top 0.45% on Bower.io
Badges
Extracted from project README
Browserstack Tests npm version Bower version Donate webstorm