Code Blocks

Cover Image

What SeoTax Adds #

Code blocks include window controls, line numbers, a copy button, and a language label. Light and dark themes use separate highlight.js color sets.

Configuration #

yaml
markup:
  highlight:
    noClasses: false
    codeFences: true

Use a fenced code block and declare its language when possible.

go
fmt.Println("Hello, SeoTax")