Skip to content

Commit

Permalink
Fix code-block indentation in dev-guide
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Oct 12, 2021
1 parent 1856169 commit 76de4d2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/dev-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ special objects that carry comments along:

.. code-block:: toml
x = [
0, 1, # comment
2, # other
]
x = [
0, 1, # comment
2, # other
]
- :class:`~ini2toml.intermediate_repr.CommentedKV`: similar to
``CommentedList``, but each element is a *key-value pair*.
Expand All @@ -173,11 +173,11 @@ special objects that carry comments along:

.. code-block:: toml
x = { a = 1, b = 2} # comment
[y]
a = 1
b = 2 # comment
c = 3 # other
x = { a = 1, b = 2} # comment
[y]
a = 1
b = 2 # comment
c = 3 # other
Due to TOML limitations, you can only have "one-line" inline-tables,
therefore ``CommentedKV`` objects with more than one group are automatically
Expand Down

0 comments on commit 76de4d2

Please sign in to comment.