diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-12-21 14:16:03 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-12-21 14:16:03 +0100 |
| commit | 5ff5db6770a4cd7f506121287070fb342de62e79 (patch) | |
| tree | 2a244fe4a52170754f80c3cca1554a4c6c185e5e /markdown/eval.go | |
| parent | b8b0189bab9e282624fcf64d622cf100f3ddec11 (diff) | |
feat(markdown): option to render poem
Diffstat (limited to 'markdown/eval.go')
| -rw-r--r-- | markdown/eval.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/markdown/eval.go b/markdown/eval.go index ae4bafc..9b0e099 100644 --- a/markdown/eval.go +++ b/markdown/eval.go @@ -8,6 +8,7 @@ type Option struct { ImageSource func(source string) string RenderLink func(content, href string) template.HTML Replaces map[rune]string + Poem bool } func Parse(s string, opt *Option) (template.HTML, *ParseError) { |
