Skip to content

Accessible Pygments Release v0.0.2

Compare
Choose a tag to compare
@steff456 steff456 released this 08 Nov 17:27
· 91 commits to main since this release

Release v0.0.2

The new version of accessible pygments brings with it more themes for you to use!

  • github-light
  • github-dark
  • github-light-colorblind
  • github-dark-colorblind
  • github-light-high-contrast
  • github-dark-high-contrast
  • gotthard-light
  • gotthard-dark
  • blinds-light
  • blinds-dark
  • greative

Just install our package via pip or conda,

pip install accessible-pygments
conda install -c conda-forge accessible-pygments

** Please note that the version in conda-forge may be available after a few days of the release

For use, just use the names of our themes and play around in your application with them!

from pygments.formatters import HtmlFormatter
HtmlFormatter(style='a11y-light').style
<class 'accessible-pygments.A11yLight'>