docs: change syntax hightlighting for command examples from sh to console

This commit is contained in:
albertony
2025-10-31 21:58:24 +01:00
parent becc068d36
commit 059ad47336
110 changed files with 782 additions and 750 deletions

View File

@@ -97,7 +97,7 @@ func (e example) output() string {
func sprintExamples() string {
s := "Examples:\n"
for _, e := range examples {
s += fmt.Sprintf("\n```sh\n%s\n", e.command())
s += fmt.Sprintf("\n```console\n%s\n", e.command())
s += fmt.Sprintf("// Output: %s\n```\n", e.output())
}
return s