adds a highlight.js compatible code block formatter