Skip to content

Instantly share code, notes, and snippets.

@ericnakagawa
Last active August 29, 2015 14:06
Show Gist options
  • Save ericnakagawa/73edd2ccefdbdedc30c4 to your computer and use it in GitHub Desktop.
Save ericnakagawa/73edd2ccefdbdedc30c4 to your computer and use it in GitHub Desktop.
@duckinator suggestion #2
function (code, lang) {
pygmentize({ lang: lang, format: 'html' }, code, function (err, result) {
options.highlight = result;
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment