using theme.css and theme.js from flatdoc