marked-terminal

A Renderer for the marked project. Allowing you to render Markdown to print to your Terminal

MIT License

Downloads
9.3M
Stars
405
Committers
30
marked-terminal - v7.0.0 Latest Release

Published by mikaelbr 9 months ago

Breaking changes

This might cause changes for your custom options to highlight. See readme for details

What's Changed

New Contributors

Full Changelog: https://github.com/mikaelbr/marked-terminal/compare/v6.2.0...v7.0.0

marked-terminal - v6.1.0

Published by mikaelbr 12 months ago

What's Changed

Full Changelog: https://github.com/mikaelbr/marked-terminal/compare/v6.0.0...v6.1.0

marked-terminal - v6.0.0

Published by mikaelbr about 1 year ago

What's Changed

Breaking changes

No longer has Node 14 on the support list. Still checks compatibility for node 16 even if that has end-of-life. Will be removed later. This won't be a breaking change for most, but can no longer guarantee node 14 support, so this is a major version upgrade to be on the safe side.

Full Changelog: https://github.com/mikaelbr/marked-terminal/compare/v5.2.0...v6.0.0

marked-terminal - v5.2.0

Published by mikaelbr over 1 year ago

What's Changed

Full Changelog: https://github.com/mikaelbr/marked-terminal/compare/v5.1.1...v5.2.0

marked-terminal - Release v5.1.0

Published by mikaelbr almost 3 years ago

Features

  • Adds support for CJS as well as ESM. #98.

Other

New Contributors

Full Changelog: https://github.com/mikaelbr/marked-terminal/compare/v5.0.0...v5.1.0

marked-terminal - Release v5.0.0

Published by mikaelbr almost 3 years ago

Breaking changes

  • Changes to ECMAScript Modules by default #83

Features

  • Adds support for marked v3 and v4.
marked-terminal -

Published by mikaelbr over 3 years ago

marked-terminal -

Published by mikaelbr almost 5 years ago

  • Adds override capability for image in options. Signature function (href, title, text).
  • Support marked 0.8.0
  • Updated all dependencies.
marked-terminal -

Published by mikaelbr almost 6 years ago

Updated to support marked 0.6.0 and added support for real links (#52)

marked-terminal -

Published by mikaelbr about 6 years ago

Fixes issue with task lists (#44)

marked-terminal -

Published by mikaelbr about 6 years ago

Updates all dependencies and support marked 0.5.0

marked-terminal -

Published by mikaelbr over 6 years ago

Breaking changes

Updated to marked 0.4.0 which has breaking changes (#41)

marked-terminal -

Published by mikaelbr almost 8 years ago

Breaking changes

The output now has changed in regards to whitespace. The listitem option do no longer apply to the entire list but only individual items.

Changes as merged in #27

  • Remove space before list items
  • Change default tab size to 4 spaces
  • Change how lists are rendered/overriden by options
    • Change 'listitem' option to only affect individual items rather
      than a whole list
    • Add 'list' option for overriding the bullets/numbering behaviour
    • Support nested lists
    • Fix newline differences between ul's and ol's

New in the API

There is an additional option in the API: list. Use this to customize the pullet points for ordered and unordered lists:

new TerminalRenderer({
  list: function (body, ordered) {
    // body : String
    // ordered : bool
  }
})
marked-terminal -

Published by mikaelbr about 8 years ago

Additions

  • Adds customized tabs options #26.
new Renderer({ tab: 4 });
new Renderer({ tab: 2 });
new Renderer({ tab: '\t' });
new Renderer({ tab: '\t\t' });

Bug fixes

  • Updates all dependencies (e8a010cf0574da30a01b6d011a3f7c38533b7650)
marked-terminal -

Published by mikaelbr about 8 years ago

Bug fixes

  • Fixes issue with chalk and cardinal #17
  • Updates to the latest version of cardinal #24
marked-terminal -

Published by mikaelbr about 9 years ago

Fixes ability to override text rendering, as previous version didn't include that change.

marked-terminal -

Published by mikaelbr about 9 years ago

Adds support for latest marked version (v0.3.4) which added a new render function: text.

marked-terminal -

Published by mikaelbr over 9 years ago

  • Adds reflow text. Allows you to limit width for your output.
  • Adds width option (when reflowText is true)
  • Adds showSectionPrefix option. When false don't do # before headers
marked-terminal -

Published by mikaelbr over 9 years ago

  1. Adds support for emojis. Fixes #14.
  2. Improves ordered lists, but still not totally fixed.
  3. Increases table margin
  4. Adds support for nested levels of lists. Fixes #13
marked-terminal -

Published by mikaelbr over 9 years ago

  1. Adds possibility of passing on table settings to cli-table. See default options
  2. Fixes issue where table data wasn't unescaped.