https://github.com/develephant/mkdocs-codehilite-themes
Pygment css themes for the codehilite extension used by MkDocs
https://github.com/develephant/mkdocs-codehilite-themes
codehilite css mkdocs mkdocs-theme stylesheets
Last synced: 3 months ago
JSON representation
Pygment css themes for the codehilite extension used by MkDocs
- Host: GitHub
- URL: https://github.com/develephant/mkdocs-codehilite-themes
- Owner: develephant
- License: unlicense
- Created: 2018-03-09T22:01:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-09T22:33:36.000Z (over 7 years ago)
- Last Synced: 2025-03-11T00:33:56.127Z (4 months ago)
- Topics: codehilite, css, mkdocs, mkdocs-theme, stylesheets
- Language: CSS
- Homepage:
- Size: 10.7 KB
- Stars: 8
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MkDocs Codehilite Themes
A collection of Pygment css themes compatible with the __codehilite__ extension used by [MkDocs](http://www.mkdocs.org/).
## Usage
Move the __css__ directory into your MkDocs "docs" dir. Make sure the following is in your __mkdocs.yml__ file:
```
extra_css:
- css/.css
markdown_extensions:
- codehilite
```### extra.css
The _extra.css_ file adds a little bit of padding to the codehilite display box, and is completely optional.
To use it, add it to your __css__ directory, and in the __mkdocs.yml__ "extra_css" section:
```
extra_css:
- css/extra.css
- css/.css
```### Source
The css files originated from [https://github.com/richleland/pygments-css](https://github.com/richleland/pygments-css) and were slightly altered to work with MkDocs.