75lb / command-line-usage

A simple, data-driven module for creating a usage guide.
MIT License
208 stars 36 forks source link

chalk is not working #27

Closed CarpeDiemKopi closed 5 years ago

CarpeDiemKopi commented 5 years ago
const cliUsage = require('command-line-usage')
const sections = [
  {
    header: 'web2js: compile.js, initex.js, tex.js',
    content: '{underline Generate WebAssembly {bold JSTEs} {italic (JavaScript Typesetting Engines)} and core.dump}'
  },

result:

Why?

Windows 10 1803 64 bit node v11.10.1, comand-line-usage and chalk just installed.

75lb commented 5 years ago

For some reason, italics does not work by default on windows.. Chalk recommends cmder - try that.