Skip to content

Commit

Permalink
Merge pull request #10464 from tk0miya/10461_doc_code-block_class_option
Browse files Browse the repository at this point in the history
doc: Add an explanation for :class: option of code-block directive
  • Loading branch information
tk0miya committed May 28, 2022
2 parents c28b464 + 1856ee6 commit 0643608
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/usage/restructuredtext/directives.rst
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,13 @@ __ https://pygments.org/docs/lexers
.. versionadded:: 1.3
.. rst:directive:option:: class: class names
:type: a list of class names separated by spaces
The class name of the graph.
.. versionadded:: 1.4
.. rst:directive:option:: dedent: number
:type: number or no value
Expand Down Expand Up @@ -758,6 +765,9 @@ __ https://pygments.org/docs/lexers
Added the ``diff``, ``lineno-match``, ``caption``, ``name``, and
``dedent`` options.

.. versionchanged:: 1.4
Added the ``class`` option.

.. versionchanged:: 1.5
Added the ``start-at``, and ``end-at`` options.

Expand Down

0 comments on commit 0643608

Please sign in to comment.