mirror of
https://github.com/rclone/rclone.git
synced 2025-12-12 06:24:14 +01:00
docs: change syntax hightlighting for command examples from sh to console
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user