diff options
Diffstat (limited to 'parser/pageparser/pageparser.go')
-rw-r--r-- | parser/pageparser/pageparser.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/parser/pageparser/pageparser.go b/parser/pageparser/pageparser.go index 988a80c83..1cf87bb70 100644 --- a/parser/pageparser/pageparser.go +++ b/parser/pageparser/pageparser.go @@ -47,15 +47,6 @@ func ParseBytes(b []byte, cfg Config) (Items, error) { return l.items, l.err } -// ParseBytesMain parses b starting with the main section. -func ParseBytesMain(b []byte, cfg Config) (Items, error) { - l, err := parseBytes(b, cfg, lexMainSection) - if err != nil { - return nil, err - } - return l.items, l.err -} - type ContentFrontMatter struct { Content []byte FrontMatter map[string]any |