Using callback function for syntax highlighting

This script should do one thing well, and that is to generate escaped
html snippets. Syntax highlighting using something like Prism is better
done via a callback function that is set up by the user on init. Then
they can use any syntax highlighting lib they like.