Skip to content

Releases: mikaelbr/marked-terminal

v3.1.1

25 Aug 07:25
2f1cc67
Compare
Choose a tag to compare

Fixes issue with task lists (#44)

v3.1.0

23 Aug 07:52
0bdab74
Compare
Choose a tag to compare

Updates all dependencies and support marked 0.5.0

v3.0.0

21 May 19:26
fd96408
Compare
Choose a tag to compare

Breaking changes

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

v2.0.0

14 Nov 08:16
Compare
Choose a tag to compare

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

v1.7.0

25 Oct 17:20
Compare
Choose a tag to compare

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 (e8a010c)

v1.6.2

25 Oct 17:17
Compare
Choose a tag to compare

Bug fixes

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

v1.6.1

30 Jul 06:15
Compare
Choose a tag to compare

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

v1.6.0

30 Jul 06:14
Compare
Choose a tag to compare

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

v1.5.0

18 May 07:52
Compare
Choose a tag to compare
  • 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

v1.4.0

16 Apr 07:07
Compare
Choose a tag to compare
  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