Documentation
¶
Index ¶
- func AppendIfNotExists(slice []string, value string) []string
- func FormatBytes(size int64) string
- func FormatFrontmatterAsMarkdown(frontmatter string) string
- func GenerateDate(numUnits int, unitType string) string
- func ParseFrontmatter(content string) (string, string)
- func ReadFileAndTrimContent(path string, cutoff int) (string, error)
- func RenderMarkdownPreview(path string, w, h int) string
- func ValidateInput(input string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendIfNotExists ¶
func FormatBytes ¶
func GenerateDate ¶
func ParseFrontmatter ¶
func RenderMarkdownPreview ¶
func ValidateInput ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.