summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2020-09-10 20:22:18 -0400
committerGitHub <noreply@github.com>2020-09-10 20:22:18 -0400
commitc99de368726023adba2725d9d0dffff16dec9350 (patch)
tree52551d96237333f61ec26728ba65354d23098ae2
parentf6c2fe9a218ecf2bcf39a89e7f91d847228ea0ae (diff)
downloadpython-markdown-c99de368726023adba2725d9d0dffff16dec9350.tar.gz
Update information about richleland/pygments-css.
As of richleland/pygments-css@146834e1 the css class was set to `.highlight`. Closes #1020.
-rw-r--r--docs/extensions/code_hilite.md13
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/extensions/code_hilite.md b/docs/extensions/code_hilite.md
index 3b6a289..caaf011 100644
--- a/docs/extensions/code_hilite.md
+++ b/docs/extensions/code_hilite.md
@@ -50,15 +50,16 @@ See Pygments' excellent [documentation] for more details. If no language is
defined, Pygments will attempt to guess the language. When that fails, the code
block will not be highlighted.
-!!! note "See Also"
+!!! seealso "See Also"
GitHub user [richeland] has provided a number of different [CSS style
sheets][rich] which work with Pygments along with a [preview] of each theme.
- The `css_class` used is the same as the default value for that option
- (`.codehilite`). However, the Python-Markdown project makes no guarantee that
- richeland's CSS styles will work with the version of Pygments you are using.
- To ensure complete compatibility, you should generate the CSS rules from
- your own installation of Pygments.
+ The `css_class` used is `.highlight`. Therefore, one would need to override the
+ [`css_class`](#css_class) option when using richeland's CSS styles. However, the
+ Python-Markdown project makes no guarantee that richeland's CSS styles will
+ work with the version of Pygments you are using. To ensure complete
+ compatibility, you should generate the CSS rules from your own installation
+ of Pygments.
[richeland]: https://github.com/richleland
[rich]: https://github.com/richleland/pygments-css