Bugfix: KB sample content code highlight

The TOC script should run after highlighting codes finished.