see https://github.com/redguardtoo/org2nikola/blob/master/org2nikola.el

I simplify it a little bit. Now you just run org2html-export-subtree anywhere at the first level node, the content of the node will be output into a html file whose name is normalized from the node's title.

or you just C-c C-e which is handled by org2html-wrap-blocks-in-code

The original code is borrowed from org2blog, it supports org7 and org8. It's pretty stable.

Here is the complete code. It's exactly designed for highlight.js! I've been using it for many months. See http://blog.binchen.org for samples.