summaryrefslogtreecommitdiff
path: root/public/embed.go
diff options
context:
space:
mode:
authora73x <[email protected]>2024-08-31 18:51:42 +0100
committera73x <[email protected]>2024-08-31 18:51:46 +0100
commit68cc8a115d79c97e3c557c70d81d59d0de29ae46 (patch)
treed027f0eb3cb8d1cf0692238dfbb582326661a17e /public/embed.go
parent975df0362b6ccfe958e550db246f465b2753baf7 (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 'public/embed.go')
-rw-r--r--public/embed.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/embed.go b/public/embed.go
index 76fc18e..2dbcc0a 100644
--- a/public/embed.go
+++ b/public/embed.go
@@ -4,5 +4,6 @@ import "embed"
//go:embed static/*.svg
//go:embed static/*.woff2
-
+//go:embed static/*.css
+//go:embed static/*.js
var FS embed.FS