Showdown Versions Save

A bidirectional Markdown to HTML to Markdown converter written in Javascript

2.1.0

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

2.0.4

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)

2.0.3

2 years ago

Bug Fixes

  • cli: fix cli to work with yargs (f8c4bd2), closes #893

2.0.0

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.

2.0.0-alpha

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 )

1.9.1

4 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)

1.9.0

5 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

1.8.7

5 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)

1.8.6

6 years ago

Features

  • splitAdjacentBlockquotes: add option to split adjacent blockquote blocks (da328f2), closes #477

1.8.5

6 years ago

Features

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