An open API service indexing awesome lists of open source software.

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

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.