YAML Metada looks like this
```
---
Tag: tag1, tag2
title: "Title I want to use"
Status: active
Name: "John Smith"
---
```
I currently use this command
```
for f in *.md; do pandoc "$f" -o "${f%.md}.pdf"; done
```
How do I set the command so that the file name will be taken from the title metadata?