Skip to content

Pygment css themes for the codehilite extension used by MkDocs

License

Notifications You must be signed in to change notification settings

develephant/mkdocs-codehilite-themes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MkDocs Codehilite Themes

A collection of Pygment css themes compatible with the codehilite extension used by MkDocs.

Usage

Move the css directory into your MkDocs "docs" dir. Make sure the following is in your mkdocs.yml file:

extra_css:
  - css/<theme-file-name>.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/<theme-file-name>.css

Source

The css files originated from https://github.com/richleland/pygments-css and were slightly altered to work with MkDocs.

About

Pygment css themes for the codehilite extension used by MkDocs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages