question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No colors for `bash` and `shell`

See original GitHub issue

Attempted to create an example for bash and shell highlighting, but the latest version does not show any colors (grey background with black text): http://plnkr.co/edit/smWejiNw2dNd5QjrmZzm?p=preview

However, the highlight.js website shows colors somehow??

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
bric3commented, Jul 4, 2020

@yyyc514 It turns out I could not reproduce ; maybe I was too tired. After investigating… well indeed shell language works with the default build. It was a hugo template error in the theme. Thank you for the patience. I understand what it is to maintain an opensource project.

Cheers !

1reaction
egor-rogovcommented, Jan 4, 2019

I’m closing this as there was no reply. Feel free to reopen in case something left unanswered.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Turn off color in Linux terminal/bash session - nixCraft
You can disable all color in your shell. By default, colors are turned on by many commands. The xterm program is a terminal...
Read more >
Terminal Colors Not Working - command line - Ask Ubuntu
Launch Terminal.app · Go to menu Terminal -> Preferences (or use Cmd + ,) · Go to the Settings tab and find the...
Read more >
SSH no colors until running bash - terminal - Stack Overflow
The reason why the text is not colored before you call bash is probably that the coloring is set in a bash start...
Read more >
Disable color in shell/terminal - linux - Super User
if you are using PUTTY to remotely access the shell, then: - on the left panel, click Colors - uncheck the three boxes...
Read more >
No colored output with --login option in bash
I noticed when I run /usr/bin/bash, colors come back. (However, I don't have my profile settings such as aliases and paths).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found