Home » Questions » Computers [ Ask a new question ]

bash html highlighting?

bash html highlighting?

I work in bash/xterm a lot, and do a lot of filtering of HTML. What I was wondering is if there is a simple way to highlight html to stdout?

Asked by: Guest | Views: 237
Total answers/comments: 1
Guest [Entry]

"Yes and it's called highlight, I used to run highlight -q -s vim-dark -M file (-M means --xterm256)

There is another option, Pygments if you are Python fan, you will like it. You can just run pygmentize example.html."