summaryrefslogtreecommitdiffstats
path: root/parser
diff options
context:
space:
mode:
authorHenrique Dias <hacdias@gmail.com>2016-07-13 22:53:06 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-07-13 23:53:06 +0200
commitaf34613f757f5f99547759f84f77449aaa091a54 (patch)
treef7581b489c11ba4f96c28d14d457cf5b154cc231 /parser
parent0a812beb120620ad2bdc8b1504bb7edf6eaac18a (diff)
Update frontmatter.go
Diffstat (limited to 'parser')
-rw-r--r--parser/frontmatter.go1
1 files changed, 1 insertions, 0 deletions
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 '-':