Documentation
¶
Overview ¶
Package frontmatter is the public library API for fm. It re-exports the types and functions that downstream Go applications need to parse, run, and inspect frontmatter queries against Markdown files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( ParseProgram = internal.ParseProgram ParseQuery = internal.ParseQuery NewOutput = internal.NewOutput PrintTable = internal.PrintTable // NewMarkdownStore constructs the default markdown store. Library consumers // can pass the result as ExecOptions.Store or use it directly. NewMarkdownStore = markdown.New )
Functions ¶
This section is empty.
Types ¶
type AlterQuery ¶
type AlterQuery = internal.AlterQuery
type EnumOptions ¶ added in v0.3.0
type EnumOptions = store.EnumOptions
type ExecOptions ¶
type ExecOptions = internal.ExecOptions
type FrontMatter ¶
type FrontMatter = internal.FrontMatter
type SelectQuery ¶
type SelectQuery = internal.SelectQuery
type Store ¶ added in v0.3.0
Store types — re-exported so library consumers import only this package.
type UpdateQuery ¶
type UpdateQuery = internal.UpdateQuery
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
fm
command
|
|
|
Package store defines the pluggable data-source backend for fm.
|
Package store defines the pluggable data-source backend for fm. |
|
markdown
Package markdown implements store.Format for Markdown files with YAML frontmatter.
|
Package markdown implements store.Format for Markdown files with YAML frontmatter. |