Pandoc filter to apply styles found in the metadata of the document