Files
hotdog-cms/go.mod
T
jcoffey-dev 034b59dac0
ci / editor-ui (pull_request) Successful in 23s
ci / go (pull_request) Successful in 2m10s
Color code blocks when the site is built
A fenced block that names its language is colored at build time with
chroma, so pages need no script. The markup matches pymdownx.highlight
(div.highlight, Pygments class names), so MkDocs stylesheets work too, and
hl_lines="2 4-5" marks lines. Blocks with no language, text, or a language
chroma doesn't know come out exactly as before.

The starter and the docs pack (1.5.0) carry the colors: hues mixed into the
code's own text color, so they read on light and dark code blocks. Turn it
off with markdown.highlight: false.
2026-10-14 20:24:07 -07:00

22 lines
527 B
AMPL

module git.coffeylabs.org/coffey-labs/hotdog-cms
go 1.26.0
require (
github.com/alecthomas/chroma/v2 v2.27.0
github.com/fsnotify/fsnotify v1.10.1
github.com/microcosm-cc/bluemonday v1.0.27
github.com/yuin/goldmark v1.8.6
golang.org/x/image v0.46.0
golang.org/x/net v0.59.0
golang.org/x/text v0.42.0
gopkg.in/yaml.v3 v3.0.1
)
require (
github.com/aymerick/douceur v0.2.0 // indirect
github.com/dlclark/regexp2/v2 v2.2.1 // indirect
github.com/gorilla/css v1.0.1 // indirect
golang.org/x/sys v0.48.0 // indirect
)