[libvirt PATCH] docs: Add section about code blocks to styleguide.rst
Andrea Bolognani
abologna at redhat.com
Thu Apr 16 16:38:25 UTC 2020
Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
docs/styleguide.rst | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/docs/styleguide.rst b/docs/styleguide.rst
index 2998e90963..3162868fb7 100644
--- a/docs/styleguide.rst
+++ b/docs/styleguide.rst
@@ -24,6 +24,18 @@ Whitespace
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
========
--
2.25.2
More information about the libvir-list
mailing list