From 748d739fe18e3624a0c8bdc70ad9a5bef78a3edf Mon Sep 17 00:00:00 2001 From: Yakiyo Date: Mon, 28 Aug 2023 16:04:58 +0000 Subject: [PATCH] chore: comment for future reference --- render/format.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/render/format.go b/render/format.go index 669f046..3b54a52 100644 --- a/render/format.go +++ b/render/format.go @@ -37,6 +37,9 @@ func format(md string) []string { return res } +// FIXME: this needs work. Run `~/.tilde/cache/pages/common/git.md` to see the mistakes +// in the printing format + // parse an `example`, remove `{{`, `}}` and underline the variable func highLightVariable(line string) string { return variableRegex.ReplaceAllString(line, underline("$1"))