The pandoc-stylefrommeta package

Pandoc filter to customize links, images and paragraphs
(with restrictions). Styles are read from the metadata of the document:
they may reside inside the document or in a separate YAML file. See
details here.