avoid 'undefined' in class
0.2.0: rewritten compile, now supports other swig blocks inside 'highlight' block