mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
docs: Add section about code blocks to styleguide.rst
Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
d2c5d975a5
commit
52b51b55a2
@ -24,6 +24,18 @@ Whitespace
|
|||||||
|
|
||||||
Blocks should be indented with 3 spaces, and no tabs
|
Blocks should be indented with 3 spaces, and no tabs
|
||||||
|
|
||||||
|
Code blocks
|
||||||
|
===========
|
||||||
|
|
||||||
|
Code blocks should be created using
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
This is regular text.
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
This is a code block.
|
||||||
|
|
||||||
Headings
|
Headings
|
||||||
========
|
========
|
||||||
|
Loading…
Reference in New Issue
Block a user