Sometimes you just want to paste some source code into Mumble and have the others be able to read it properly.
But sometimes you're also like me and don't mind going two extra steps to give those peers some syntax highlighting.
You do what's up there. Or down there, I dunno how this gist will do things. Point is, if you execute that command you will have a syntax highlighted HTML version of a command in your clipboard that when sent to someone in Mumble will display (beautifully) a command which can be used to get some HTML in your clipboard which has syntax highlighted some shell script. You can use it for arbitrary Markdown (though the XPath strips out everything but the source code, change as you like).
Also, yes the double indirection is the thing I used to send this to someone else so they can syntax highlight their message.
- pandoc (get from your package manager or w/e)
xmllint
(xmllint2 package on most distros I think)- css-inline (cargo install, tested using 0.8.0)