Update chroma to 0.10.0

- 0.9.2 added `tabindex="0"` to `pre`:
  https://github.com/alecthomas/chroma/pull/515
- 0.10.0 changed around divs and spans, pre and code
  https://github.com/alecthomas/chroma/pull/571
  https://github.com/alecthomas/chroma/pull/572
This commit is contained in:
Elliott Sales de Andrade 2022-02-28 00:21:06 -05:00
parent 65699c036b
commit 2e821b8b7c
4 changed files with 117 additions and 136 deletions

7
go.mod
View file

@ -3,12 +3,9 @@ module github.com/niklasfasching/go-org
go 1.17
require (
github.com/alecthomas/chroma v0.8.2
github.com/alecthomas/chroma v0.10.0
github.com/pmezard/go-difflib v1.0.0
golang.org/x/net v0.0.0-20201224014010-6772e930b67b
)
require (
github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964 // indirect
github.com/dlclark/regexp2 v1.2.0 // indirect
)
require github.com/dlclark/regexp2 v1.4.0 // indirect