[Bro] Bro syntax highlighting with PrismJS

Wendy Edwards wayward710 at gmail.com
Sun May 1 15:47:38 PDT 2016

I put some demo pages showing Bro syntax highlighting using PrismJS at

The source code is available at https://github.com/open-nsm/prism-bro .

PrismJS has also been included in the Google Polymer project.  However, for
those who only want Bro syntax highlighting, the approach in the demo is
simple and easy to adapt.  Just include the JS file and the CSS file for
the style you want to use, and it's a matter of copy pasting your code
between the <pre><code ...> tags.

It's possible to include line numbers or line highlighting with any of the
styles.  They do appear to be mutually exclusive -- you can have one but
not both.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20160501/4ab5a59a/attachment.html 

More information about the Bro mailing list