Documentation
¶
Overview ¶
Package notes is the Notes module: Markdown files in a folder, written by the owner and the agent, linked with [[wiki links]] and marked up with the core's marks.
The notes are plain files, so anything else that edits Markdown can share the folder. Which folder is a live setting: point it somewhere else and the list follows at once.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hit ¶
type Hit struct {
Path string `json:"path"`
Title string `json:"title"`
Line int `json:"line"`
Text string `json:"text"`
}
Hit is one line of a note that matches a search.
type Note ¶
type Note struct {
// Path is relative to the notes folder, with forward slashes: "ideas/surface.md".
Path string `json:"path"`
Title string `json:"title"`
// Text is the file's contents. Listings leave it out.
Text string `json:"text,omitempty"`
// Rev identifies the contents. A write that names the rev it started from is refused
// when the file has changed since.
Rev string `json:"rev,omitempty"`
Modified string `json:"modified"`
Size int64 `json:"size"`
}
Note is one note: a Markdown file in the notes folder.