Improve the structures

Support resize
Change highlight to highlight.js
Fix some split issues