add syntax highlighting to generated appendix