v5.0.0
Breaking changes since v4.1.0
- All inline ansi formatting is now handled by chalk template literal syntax. Chalk benefits:
- nested style support (e.g.
{red this is red {bold this is bold-red}}
) - 256 colours and Truecolour support
- actively maintained.
- See here for example usage.
- nested style support (e.g.
New features
- the
optionList
table layout is now fully customisable by setting atableOptions
object.
Upgrading
If your usage guide does not use inline ansi formatting you can upgrade from v4 to v5 without change. If your guide does use ansi formatting you will need to upgrade the syntax, for example [underline](some text)
becomes {underline some text}
.