add PDF and Markdown support