buildkite / terminal-to-html

Converts arbitrary shell output (with ANSI) into beautifully rendered HTML
http://buildkite.github.io/terminal-to-html
MIT License
642 stars 45 forks source link

Bold not rendered #70

Open felixfbecker opened 4 years ago

felixfbecker commented 4 years ago

To repro: Set up a buildkite pipeline that runs

npm install chalk
node -e 'console.log(require("chalk").bold("Hello World"))'

The text should be bold, but isn't. The escape sequence used is: ESC [ 1 m

See https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_parameters

1 Bold or increased intensity

Use case: For example, the text "Browser console:" here is supposed to be bold to make the logs easier to read

image

iTerm2, VS Code terminal support this.