Giter Site home page Giter Site logo

pygments-css's Introduction

pygments-css

Pygments, a Python-based code highlighting tool, comes with a set of builtin styles (not css files) for code highlighting. You have to generate a CSS file using the command line.

You can generate these yourself, but this git repository has already generated them for you.

build

These css files were generated using pygmentize on the command line like so::

pygmentize -S default -f html -a .highlight > default.css

You can remove or change the top-level class by removing or modifying -a .highlight in the makefile.

To regenerate them all with whichever pygments version you are using, run

git clone <this repo>
cd pygments-css
make cssfiles

pygments-css's People

Contributors

colinta avatar cs01 avatar dflock avatar helenst avatar richleland avatar theodox avatar wbinnssmith avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pygments-css's Issues

package.json

Hi! First, thank you! Great set! Have you considered adding a package.json so that the repo can be downloaded with NPM?

Thanks again!

color mode css

Some styles are released in light+dark modes.

It would be optimal if a CSS for these themes were released using light+dark modes combined using CSS prefers media queries.

Update npm package

👋Would it be possible to update https://www.npmjs.com/package/pygments-css to the current version in master? Version 1.0.0 at npmjs.com still has .codehilite prefixes and no background colours.

Updating it would make it easier to include the updated pygments-css via npm. Thanks!

Add requirements.txt and repeatable build command

The CSS files are missing a class when used on marked up HTML from pygments 2.2.0. It would be helpful if these could easily be regenerated, but as it stands now there are just a bunch of css files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.