Added support for options in mdpdf.