We don't want users to copy the prompt and process output in
"console" blocks, but for other code blocks (bash scripts, yaml)
copying comments should not be disabled.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Show a "text" cursor for the prompt. Even though the prompt itself is not
selectable, make it appear as if it is, so that users don't get confused
when they try to select an example for copying.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Prevent selecting comments, command-output and command-prompt in shell
examples that use the "console" lexer/highlighter to allow easier copying.
See https://github.com/rouge-ruby/rouge/issues/1023
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>