diff --git a/parser/frontmatter.go b/parser/frontmatter.go index b185526d7..40418e684 100644 --- a/parser/frontmatter.go +++ b/parser/frontmatter.go @@ -149,6 +149,7 @@ func FormatSanitize(kind string) string { } } +// DetectFrontMatter detects the type of frontmatter analysing its first character. func DetectFrontMatter(mark rune) (f *frontmatterType) { switch mark { case '-':