Skip to content

Accessible Pygments Release v0.0.1

Compare
Choose a tag to compare
@steff456 steff456 released this 06 Oct 21:21
· 134 commits to main since this release

Release v0.0.1

This is our first release of accessible pygments themes πŸŽ‰

For now, we have five themes available that are ready to use:

  • a11y-light
  • a11y-dark
  • a11y-high-contrast-light
  • a11y-high-contrast-dark
  • pitaya-smoothie

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'>