From 68cc8a115d79c97e3c557c70d81d59d0de29ae46 Mon Sep 17 00:00:00 2001 From: a73x Date: Sat, 31 Aug 2024 18:51:42 +0100 Subject: feat(html): add syntax highlighting using a js library until I work out how to use https://github.com/alecthomas/chroma --- markdown/markdown.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'markdown') diff --git a/markdown/markdown.go b/markdown/markdown.go index 92db876..658e527 100644 --- a/markdown/markdown.go +++ b/markdown/markdown.go @@ -18,10 +18,6 @@ type Content struct { } func ParseContents() ([]Content, error) { - // contentFS, err := fs.Sub(content.FS, "content") - // if err != nil { - // return nil, fmt.Errorf("no content found: %v", err) - // } contentFiles, err := glob(content.FS, ".", ".md") if err != nil { return nil, fmt.Errorf("failed to glob: %v", err) -- cgit v1.2.3