Skip to content

Commit 25e2db9

Browse files
committed
Document the 'class' option.
1 parent a310f90 commit 25e2db9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

docs/index.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,13 @@ Reference
243243
Reintroduce ANSI support via :confval:`programoutput_use_ansi`
244244
using the ``erbsland.sphinx.ansi`` extension.
245245

246+
A ``class`` option can be given to specify CSS classes to apply to
247+
the output. The value is a whitespace separated list of CSS class
248+
names.
249+
250+
.. versionchanged:: 0.20
251+
Add the ``class`` option.
252+
246253
.. directive:: command-output
247254

248255
Same as :dir:`program-output`, but with enabled ``prompt`` option.

0 commit comments

Comments
 (0)