mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-08-28 12:56:30 -04:00
15 lines
276 B
Go
15 lines
276 B
Go
//go:build !noMarkdown && BEAN
|
|
|
|
package cli
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
bean "github.com/Trojan2021/BEAN/render"
|
|
)
|
|
|
|
// renderNote renders the notes section of an entry (in Markdown) to stdout.
|
|
func renderNote(noteLines []string) {
|
|
fmt.Println(bean.RenderMarkdown(noteLines, width))
|
|
}
|