GithubHelp home page GithubHelp logo

dataframing / pygments-css Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 25 KB

๐ŸŽจ Dead-simple CSS stylesheets based on Pygments.

Makefile 0.65% Python 0.06% CSS 99.29%
pygments pygments-css css

pygments-css's Introduction

pygments-css

If you're looking for the Pygments CSS styles, they're under the styles directory.

Context

Pygments is a generic syntax highlighter. I use it for syntax highlighting code blocks on my (eventual) fastpages blog. The Pygments is actively maintained, which is great! It continues to add different styles and support for different languages.

Unfortunately, one of the repos that maintained easily-usable CSS files for these styles is quite stale. So, I decided to spend the 15 minutes to get a new set of CSS files generated. Ta-da!

In truth, the only real differences are based around their repo's staleness: it hasn't been updated in 4 years, and Pygments has more themes now.

Development

This is a dead-simple project. If you'd like to extend it, all you need locally are poetry and make to get the development environment setup via make build. Then you run make css to re-build the local styles folder. Done!

Notes

Nobody asked for it, but here's an unofficial ranking in descending order, with entries within a tier not necessarily in any particular order:

  • ๐Ÿฅ‡ The best: default, friendly, colorful
  • ๐Ÿ‘ Solid picks: murphy, manni, pastie, tango, xcode, paraiso-dark, arduino
  • ๐Ÿค” Hmm...: autumn, emacs, perldoc, native, vim, vs, igor, paraiso-light, lovelace, rainbow_dash, inkpot
  • ๐Ÿ˜ถ Oh no...: borland, trac, fruity, bw, abap, solarized-dark, solarized-light, sas, stata, stata-light
  • ๐Ÿค– Monokai: monokai (Sorry, I just don't like Monokai)
  • ๐Ÿ’ฉ Why does this exist: rrt, algol, algol_nu, stata-dark

TODO

The official Pygments website demo is...a bit painful to use. Maybe we can set up a streamlit app that can do this demo a bit more sensibly?

pygments-css's People

Contributors

dataframing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.