grab md headlines as well
This commit is contained in:
parent
bf457ae74c
commit
e4dcb3023e
@ -15,7 +15,7 @@ import (
|
|||||||
var AuthorRE = regexp.MustCompile(`^author:\s(.*)$`)
|
var AuthorRE = regexp.MustCompile(`^author:\s(.*)$`)
|
||||||
|
|
||||||
// TitleRE matches our article title for either plain text or org-mode
|
// TitleRE matches our article title for either plain text or org-mode
|
||||||
var TitleRE = regexp.MustCompile(`^(?:\*|title:)\s(.*)$`)
|
var TitleRE = regexp.MustCompile(`^(?:\*|title:|#)\s(.*)$`)
|
||||||
|
|
||||||
// DateRE matches our article date
|
// DateRE matches our article date
|
||||||
var DateRE = regexp.MustCompile(`^date:\s(.*)$`)
|
var DateRE = regexp.MustCompile(`^date:\s(.*)$`)
|
||||||
|
Loading…
Reference in New Issue
Block a user