mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Close #10461: doc: Add an explanation for :class: option of code-block directive
This commit is contained in:
parent
21df068fb9
commit
1856ee638b
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user