You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Hieroglyph – a Sphinx extension to build slides/presentations – I want to apply a (CSS) class to an included dot graph.
From looking at the docs and code of sphinx.ext.graphviz, it looks as if the directives provided by sphinx.ext.graphviz don't support the :class: option.
For this specific use – but probably as well for countless extensions and tools which build on Sphinx – it would be useful if the directives provided by sphinx.ext.graphviz would support the :class: option. Especially because the :class: option belongs to the common options of the reStructuredText directives.
It would allow users to format included graphs just as images, blocks, etc.
Alternatively, one could probably wrap the included graph in a container but that is a bit cumbersome. Just imagine every element for which a class should apply would have to be wrapped in a container…
Cheers. :)
The text was updated successfully, but these errors were encountered:
In Hieroglyph – a Sphinx extension to build slides/presentations – I want to apply a (CSS) class to an included
dot
graph.From looking at the docs and code of
sphinx.ext.graphviz
, it looks as if the directives provided bysphinx.ext.graphviz
don't support the:class:
option.For this specific use – but probably as well for countless extensions and tools which build on Sphinx – it would be useful if the directives provided by
sphinx.ext.graphviz
would support the:class:
option. Especially because the:class:
option belongs to the common options of the reStructuredText directives.It would allow users to format included graphs just as images, blocks, etc.
Alternatively, one could probably wrap the included graph in a container but that is a bit cumbersome. Just imagine every element for which a class should apply would have to be wrapped in a container…
Cheers. :)
The text was updated successfully, but these errors were encountered: