diff options
| author | a73x <[email protected]> | 2024-12-29 19:13:27 +0000 |
|---|---|---|
| committer | a73x <[email protected]> | 2024-12-30 11:00:49 +0000 |
| commit | a783270b09af3d873c08a01d13f802018b69fb02 (patch) | |
| tree | bdac4e38357afa535515dd8dda790d7193f371d0 /go.mod | |
| parent | 71513b80ebc21240b5b68d8bbbf8b7ee2f54893e (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.mod | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |
