Add tag for building without Markdown support

This commit is contained in:
2024-07-16 15:30:48 -04:00
parent 66e9511eec
commit c6734dd283
4 changed files with 39 additions and 10 deletions
+12
View File
@@ -0,0 +1,12 @@
//go:build noMarkdown
package cli
import (
"fmt"
)
// renderNote prints the notes section of an entry to stdout (when Markdown rendering is disabled)
func renderNote(note *string) {
fmt.Print("\n" + *note + "\n\n")
}