working md2html -- much faster on glossary (c. 10 secs instead of 8 minutes)