Skip to content

Commit

Permalink
DOCSP-31837: Change template to make code-block non-copyable. (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmkerbey-mdb authored May 23, 2024
1 parent 9d7a7e4 commit 18987f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func printExamples(buf *bytes.Buffer, cmd *cobra.Command) {
comment = " #"
}
buf.WriteString(`.. code-block::
:copyable: false
`)
_, _ = fmt.Fprintf(buf, "\n %s%s\n", comment, indentString(example, identChar))
}
Expand Down

0 comments on commit 18987f8

Please sign in to comment.