Get the yaml header of a string vecter from a markdown file

get_yaml(txt)

Arguments

txt

a string vector vecter from a markdown file

Value

a string vector of the yaml header