HighlightJS
Packages HighlightJS for use in Meteor. This package only encapsulates the JS functionality and not the styles.
Instructions
This package initializes HighlightJS in the client and server namespace as hljs. In other words, where one would have previously required the package like so (in a Node app, for example):
var hljs = require('highlightjs');One may now go forth and use hljs directly, expecting similar behavior.
Themes are not included in this package, because baking in a theme prevents users from making their own design choices. Therefore, to actually get highlighting to work, download a theme file from the main HighlightJS repo and add it to the rest of your CSS code.