File tree Expand file tree Collapse file tree 2 files changed +75
-2
lines changed Expand file tree Collapse file tree 2 files changed +75
-2
lines changed Original file line number Diff line number Diff line change @@ -958,6 +958,73 @@ chroma:
958958 - Aliases :
959959 - zig
960960 Name : Zig
961+ styles :
962+ - abap
963+ - algol
964+ - algol_nu
965+ - arduino
966+ - autumn
967+ - average
968+ - base16-snazzy
969+ - borland
970+ - bw
971+ - catppuccin-frappe
972+ - catppuccin-latte
973+ - catppuccin-macchiato
974+ - catppuccin-mocha
975+ - colorful
976+ - doom-one
977+ - doom-one2
978+ - dracula
979+ - emacs
980+ - evergarden
981+ - friendly
982+ - fruity
983+ - github
984+ - github-dark
985+ - gruvbox
986+ - gruvbox-light
987+ - hr_high_contrast
988+ - hrdark
989+ - igor
990+ - lovelace
991+ - manni
992+ - modus-operandi
993+ - modus-vivendi
994+ - monokai
995+ - monokailight
996+ - murphy
997+ - native
998+ - nord
999+ - nordic
1000+ - onedark
1001+ - onesenterprise
1002+ - paraiso-dark
1003+ - paraiso-light
1004+ - pastie
1005+ - perldoc
1006+ - pygments
1007+ - rainbow_dash
1008+ - rose-pine
1009+ - rose-pine-dawn
1010+ - rose-pine-moon
1011+ - rrt
1012+ - solarized-dark
1013+ - solarized-dark256
1014+ - solarized-light
1015+ - swapoff
1016+ - tango
1017+ - tokyonight-day
1018+ - tokyonight-moon
1019+ - tokyonight-night
1020+ - tokyonight-storm
1021+ - trac
1022+ - vim
1023+ - vs
1024+ - vulcan
1025+ - witchhazel
1026+ - xcode
1027+ - xcode-dark
9611028config :
9621029 HTTPCache :
9631030 cache :
@@ -1737,7 +1804,9 @@ config:
17371804 headers : null
17381805 redirects :
17391806 - force : false
1740- from : ' **'
1807+ from : /**
1808+ fromHeaders : null
1809+ fromRe : " "
17411810 status : 404
17421811 to : /404.html
17431812 services :
Original file line number Diff line number Diff line change 44 "sort"
55
66 "github.com/alecthomas/chroma/v2/lexers"
7+ "github.com/alecthomas/chroma/v2/styles"
78 "github.com/gohugoio/hugo/docshelper"
89)
910
@@ -30,7 +31,10 @@ func init() {
3031
3132 }
3233
33- return docshelper.DocProvider {"chroma" : map [string ]any {"lexers" : chromaLexers }}
34+ return docshelper.DocProvider {"chroma" : map [string ]any {
35+ "lexers" : chromaLexers ,
36+ "styles" : styles .Names (),
37+ }}
3438 }
3539
3640 docshelper .AddDocProviderFunc (docsProvider )
You can’t perform that action at this time.
0 commit comments