LeaVerou/prism — pull request #42 by buymeasoda (2012-10-13 13:07:13+00:00)
Title: Node support

Here's an updated version of my [previous pull request](https://github.com/LeaVerou/prism/pull/34) that adds support for node with the minimum amount of changes.

Having played with the implementation more, it might be preferable to create a separate node version. One challenge in node, with the way Prism extends its config and adds other features, is that it requires `Prism` to be available as a global variable.

The provided solution does work fine though for both the browser and node, so might be of interest.