-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Roger Binns wrote:
> If you are in the process of fixing styles, it would be nice to apply
> them to code-blocks too. For example if I have:
>
> .. code-block:: python
>
> Then have the CSS classes be "highlight" (currently done) and
> "highlight-python". (I want to mess with "highlight-text" to format
> output.)
Thanks for implementing this. Is there an easy way to specify an
additional HTML/CSS stylesheet. I can use "html_style" in the config or
put a different default.css in static to change the main style sheet,
but in this case I want to add one line (to set background colour of
highlight-text) so I'd rather specify an additional stylesheet.
Also I'd suggest creating the highlights the other way around.
Currently it does this but it would be better if the outside div was
highlight and the inside one was highlight-language.
<div class="highlight-python">
<div class="highlight">
blah blah
</div></div>
You can actually make this even shorter by doing:
<div class="highlight highlight-python">
blah blah
</div>
Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkkX5UwACgkQmOOfHg372QSt/gCdEZmK3QC7CMXvMDaOpueIUBTg
dzUAoNFl3ZZcV292D5Wo+DtjbE3VD9UW
=ZNg9
-----END PGP SIGNATURE-----
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---