Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Note ¶
type Note struct {
Title string `json:"title"` // May contains spaces and slashes, like "articles/Hello World"
Slug string `json:"slug"` // Slugified title, like "my-articles/hello-world"
Path string `json:"path"` // Full path relative to the base directory, like "My articles/Hello World.md"
Content string `json:"content"`
ReferencedBy []NoteReference `json:"referenced_by"` // Notes that have wikilinks to this note
IsPublic bool `json:"isPublic"` // Whether this note is public or private
Metadata map[string]any `json:"metadata"` // YAML frontmatter metadata
}
type NoteReference ¶
Click to show internal directories.
Click to hide internal directories.