get_heading: get the headings out of given strings
Description
get the headings out of given strings
Usage
get_heading(pattern = "^#+ ", text)
Arguments
pattern
The definition of the headings
Value
integer. the index of the headings in the given strings.