cli-highlight icon indicating copy to clipboard operation
cli-highlight copied to clipboard

Syntax highlighting for your terminal 💻✨

Results 52 cli-highlight issues
Sort by recently updated
recently updated
newest added

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | |---|---| | ansi-regex | [`3.0.0` -> `3.0.1`](https://renovatebot.com/diffs/npm/ansi-regex/3.0.0/3.0.1) | | ansi-regex | [`4.1.0` -> `4.1.1`](https://renovatebot.com/diffs/npm/ansi-regex/4.1.0/4.1.1) | | ansi-regex...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | |---|---| | glob-parent | [`5.1.1` -> `5.1.2`](https://renovatebot.com/diffs/npm/glob-parent/5.1.1/5.1.2) | ### GitHub Vulnerability Alerts #### [CVE-2020-28469](https://nvd.nist.gov/vuln/detail/CVE-2020-28469) This affects the...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | |---|---| | acorn | [`5.7.3` -> `5.7.4`](https://renovatebot.com/diffs/npm/acorn/5.7.3/5.7.4) | | acorn | [`6.3.0` -> `6.4.1`](https://renovatebot.com/diffs/npm/acorn/6.3.0/6.4.1) | ### GitHub...

Hello, great library, but I'm wondering if it is possible to reuse the themes/styles defined in highlight.js, which this library depends on; I could of course look at the theme...

It would be nice if this cli had an option to pretty print. I would be happy to create a PR to, but I thought I'd create an issue first.

``` const newdb ={ id : results[i].tb_email_reminder_2004_id, tgl : results[i].tgl_proses, jenis: results[i].jenis_surat_email, minpem: results[i].min_pembayaran, total : results[i].total_tagihan, jatuhtem: results[i].jatuh_tempo, email: results[i].email, car_no: results[i].card_no, status: results[i].status } console.log(highlight(newdb)) ``` so there...

/app/node_modules/cli-highlight/node_modules/chalk/source/index.js:103 ...styles, ^^^ SyntaxError: Unexpected token ... at createScript (vm.js:53:10) at Object.runInThisContext (vm.js:95:10) at Module._compile (module.js:543:28) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require...

Would be very useful to be able to pass in custom language definitions which would be passed down to highlight.js Cheers

enhancement

Is there a way to use highlight inside the node repl or ts-node so it highlights all the code commands I wrote there?

question

Does anyone run into the issue with coloring css tags using highlight? I can't produce colored css tags and template tags in either html file containing css or independent css...

help wanted