commit af34613f757f5f99547759f84f77449aaa091a54
parent 0a812beb120620ad2bdc8b1504bb7edf6eaac18a
Author: Henrique Dias <hacdias@gmail.com>
Date: Wed, 13 Jul 2016 22:53:06 +0100
Update frontmatter.go
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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 '-':