Documentation ¶ Index ¶ func Split(raw string) (yaml string, body string, ok bool) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Split ¶ func Split(raw string) (yaml string, body string, ok bool) Split separates a leading --- delimited YAML block from the body. Only the first two standalone "---" lines participate: the opener and closer. Any additional "---" or "----" lines after the closer remain in the body. Types ¶ This section is empty. Source Files ¶ View all Source files frontmatter.go Click to show internal directories. Click to hide internal directories.