use Metadata markdown extension

This replaces using YAML for parsing metadata.