Merge pull request #10464 from tk0miya/10461_doc_code-block_class_option

doc: Add an explanation for :class: option of code-block directive
This commit is contained in:
Takeshi KOMIYA 2022-05-28 23:15:08 +09:00 committed by GitHub
commit 06436084dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
@ -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.