Fix format
This commit is contained in:
parent
8d1fa2f6be
commit
3f25b1c8c9
|
@ -255,17 +255,20 @@ When making contributions, please try to observe the following style conventions
|
||||||
* Use underline headings (`=====` and `-----`) if possible.
|
* Use underline headings (`=====` and `-----`) if possible.
|
||||||
If this is not possible, use Atx-style headings on both the left and right sides (`### H3 ###`).
|
If this is not possible, use Atx-style headings on both the left and right sides (`### H3 ###`).
|
||||||
* When writing commands to be entered into a terminal:
|
* When writing commands to be entered into a terminal:
|
||||||
* State in the text above the commands that the user shall open a terminal and run those commands. E.g.
|
* State in the text above the commands that the user shall open a terminal and run those commands.
|
||||||
~~~markdown
|
E.g.
|
||||||
Open a terminal in your AppVM and run
|
~~~markdown
|
||||||
```shell_session
|
Open a terminal in your AppVM and run
|
||||||
$ cd test
|
```shell_session
|
||||||
$ echo Hello
|
$ cd test
|
||||||
Hello
|
$ echo Hello
|
||||||
```
|
Hello
|
||||||
~~~
|
```
|
||||||
* Precede each command with a non-empty prompt that fits the needs. As a minimum, the prompt should contain a trailing `#` (for the user `root`) or `$` (for other users) on Linux systems and `>` on Windows systems, respectively.
|
~~~
|
||||||
* Put the expected output below the command as usual or use a separate code block for that. You should write `[...]` for omitted parts of the output.
|
* Precede each command with a non-empty prompt that fits the needs.
|
||||||
|
As a minimum, the prompt should contain a trailing `#` (for the user `root`) or `$` (for other users) on Linux systems and `>` on Windows systems, respectively.
|
||||||
|
* Put the expected output below the command as usual or use a separate code block for that.
|
||||||
|
You should write `[...]` for omitted parts of the output.
|
||||||
* Use [syntax highlighting](https://github.github.com/gfm/#info-string) where [possible](https://github.com/jneen/rouge/wiki/List-of-supported-languages-and-lexers).
|
* Use [syntax highlighting](https://github.github.com/gfm/#info-string) where [possible](https://github.com/jneen/rouge/wiki/List-of-supported-languages-and-lexers).
|
||||||
* When quoting (script) files:
|
* When quoting (script) files:
|
||||||
* Use code blocks with [syntax highlighting](https://github.github.com/gfm/#info-string) where [possible](https://github.com/jneen/rouge/wiki/List-of-supported-languages-and-lexers).
|
* Use code blocks with [syntax highlighting](https://github.github.com/gfm/#info-string) where [possible](https://github.com/jneen/rouge/wiki/List-of-supported-languages-and-lexers).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user