-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: document new individual code block theme override
Signed-off-by: James Knight <james.d.knight@live.com>
- Loading branch information
Showing
4 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
.. index:: Class hints | ||
|
||
.. _confluence_class_hints: | ||
|
||
Class hints | ||
=========== | ||
|
||
The following outlines all available class-related hints supported by the | ||
Confluence builder extension. | ||
|
||
``confluence-theme-<theme>`` | ||
---------------------------- | ||
|
||
.. versionadded:: 2.2 | ||
|
||
When this class hint is applied to a literal/code block, this provides the | ||
ability to override the theme configured for an individual code-block macro. | ||
For example: | ||
|
||
.. code-block:: none | ||
.. code-block:: python | ||
:class: confluence-theme-FadeToGrey | ||
def main(): | ||
print 'Hello, world!' | ||
if __name__ == '__main__': | ||
main() | ||
See also :ref:`confluence_code_block_theme <confluence_code_block_theme>`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters