diff options
| author | a73x <[email protected]> | 2024-08-31 18:51:42 +0100 |
|---|---|---|
| committer | a73x <[email protected]> | 2024-08-31 18:51:46 +0100 |
| commit | 68cc8a115d79c97e3c557c70d81d59d0de29ae46 (patch) | |
| tree | d027f0eb3cb8d1cf0692238dfbb582326661a17e /markdown | |
| parent | 975df0362b6ccfe958e550db246f465b2753baf7 (diff) | |
feat(html): add syntax highlighting
using a js library until I work out how to use https://github.com/alecthomas/chroma
Diffstat (limited to 'markdown')
| -rw-r--r-- | markdown/markdown.go | 4 |
1 files changed, 0 insertions, 4 deletions
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) |
