summaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authora73x <[email protected]>2024-12-29 19:13:27 +0000
committera73x <[email protected]>2024-12-30 11:00:49 +0000
commita783270b09af3d873c08a01d13f802018b69fb02 (patch)
treebdac4e38357afa535515dd8dda790d7193f371d0 /go.mod
parent71513b80ebc21240b5b68d8bbbf8b7ee2f54893e (diff)
new markdown renderer
since TOC has a title now and it can compact toc headers, we can use header 2 for everything use the built in goldmark extension for syntax highlighting
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod6
1 files changed, 5 insertions, 1 deletions
diff --git a/go.mod b/go.mod
index 957ad30..b257e92 100644
--- a/go.mod
+++ b/go.mod
@@ -5,14 +5,18 @@ go 1.23
require (
github.com/adrg/frontmatter v0.2.0
github.com/alecthomas/chroma v0.10.0
+ github.com/alecthomas/chroma/v2 v2.2.0
github.com/fsnotify/fsnotify v1.8.0
github.com/gomarkdown/markdown v0.0.0-20240730141124-034f12af3bf6
+ github.com/yuin/goldmark v1.7.8
+ github.com/yuin/goldmark-highlighting/v2 v2.0.0-20230729083705-37449abec8cc
+ go.abhg.dev/goldmark/toc v0.10.0
go.uber.org/zap v1.27.0
)
require (
github.com/BurntSushi/toml v1.2.1 // indirect
- github.com/dlclark/regexp2 v1.4.0 // indirect
+ github.com/dlclark/regexp2 v1.7.0 // indirect
github.com/stretchr/testify v1.9.0 // indirect
go.uber.org/multierr v1.10.0 // indirect
golang.org/x/sys v0.13.0 // indirect