If the document has a YAML header the preview shows you the properties in a table. Although this is handy while editing, I see no purpose that this is exported to HTML and PDF. This data should be considered as metadata.