Commit Graph

3 Commits

Author SHA1 Message Date
Sebastiaan van Stijn 19b3b40f5b
_scss: show regular "text" cursor for prompt
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>
2021-03-02 16:08:17 +01:00
Sebastiaan van Stijn a987f04d05
highlighting: make comments, prompt and command-output non-selectable
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>
2021-03-02 15:02:25 +01:00
Sebastiaan van Stijn 1c2a455346
styles.css: include code-highlight styles in main css document
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-14 14:39:53 +02:00