Template:Sh$/doc
Appearance
This is a documentation subpage for Template:Sh$ It may contain usage information, categories and other content that is not part of the original template page. |
This template formats a w:Bourne shell-style prompt and is intended to be used in “leading space” preformatted sections.
The prompt will use prompt
and prompt-sh
HTML/CSS classes, and also an explicit font-weight: bolder
CSS style.
Usage
[edit source]Examples
[edit source]
{{Sh$}}<kbd >hello </kbd> <samp>Hello, world!</samp> {{Sh$}} |
$ hello Hello, world! $ |
{{Sh$|# }}<kbd >apt-get install \ -- ascii </kbd> |
# apt-get install \ -- ascii |