ansi-html icon indicating copy to clipboard operation
ansi-html copied to clipboard

An elegant lib that converts the chalked text to HTML.

Results 11 ansi-html issues
Sort by recently updated
recently updated
newest added

Hey there! Looks like no updates in the last couple years, or issues closed since late 2017 – is this project still being maintained? Found a bug, just trying to...

I'm looking for a package that can convert ansi-tagged links to html. It is possible to create VT100 terminal hyperlinks. ```javascript const ESC = '\u001B['; const OSC = '\u001B]'; const...

I noticed this library doesn't support e.g. `chalk.rgb(100,200,210)("foo")`. This PR adds chalk.rgb and chalk.bgRgb support. Closes #10

I have found that color reset (`ESC[m`) is not being respected. # Input ```javascript var ansiHtml = require('ansi-html') var ansi = 'test \u001B[32m one \u001B[m two' var html = ansiHtml(ansi)...

It doesn't appear to translate ansi characters with both a background and foreground color. Say, in chalk you can be like `chalk.magenta.bgGreenBright('magenta foreground, green background') but when the ansi gets...

* Example code: ```javascript const chalk = require('chalk'); const ansiHtml = require('ansi-html'); const inspect = require('util').inspect; chalk.enabled = true; chalk.level = 3; const c = chalk.hex('#405060')('Hello'); const h = ansiHtml(c);...

enhancement

when process stdout like this `[32m[1m` , ansi-html recognize it as green span, however, when text change to `[0;36mxxx`, `[0;32mxxxx`, it can't replace.

could you please support bash-color?