I am writing a custom template for converting markdown into R-markdown so I can reorder the metadata as per the template. But certain YAML header variables contain more information and I would like to split it into individual values to place it in different locations.

For example in a markdown file:
---
address:
- |
 person-1-name\
 some university\
 address\
- |
  person-2-name\
  some university\
  address\
author:
  - person-1-name and person-2-name
title: "sample title"
---
body of the markdown file.

here I would like to break the individual address YAML value accessible in my template as $address$ into more atomic information bits like $address.name$,$address.university$ and $address.postal-address$ 

Is there any way I can break the template variables in the above manner programatically..

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a7183c8f-540b-4a9d-bb0a-79872f6f576an%40googlegroups.com.