Releases: mikaelbr/marked-terminal
Releases · mikaelbr/marked-terminal
v3.1.1
v3.1.0
v3.0.0
v2.0.0
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
- Change 'listitem' option to only affect individual items rather
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
v1.6.2
v1.6.1
v1.6.0
v1.5.0
- 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