Skip to content

Commit

Permalink
chore: update Pygments to 2.15.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorias committed Jul 31, 2023
1 parent 19c16d5 commit 6de3505
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,22 @@ This project requires the following tools:
[highlight.js][hljs]. It comes from the ZIP package available on [their main
site][hljs].

## Updating Pygments

This anki-code-highlighter comes in bundled with the [Pygments] library, and
its version is tracked as a [Git
submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules) inside this
repository.

To update Pygments, go to the submodule and pull the desired version. For
example:

```shell
cd pydeps/pygments
git fetch
git checkout 2.15.1
```

## Generating Pygment stylesheets

In `assets/_ch-pygment-solarized.css` I keep the stylesheet for code formatted
Expand Down
2 changes: 1 addition & 1 deletion pydeps/pygments
Submodule pygments updated 863 files
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires-python = "3.9.17"

[tool.poetry]
name = "anki-code-highlighter"
version = "1.0.0"
version = "1.1.0"
authors = ["Grzegorz Milka <grzegorzmilka@gmail.com>"]
description = "Anki plugin for code syntax highlighting"
classifiers = [
Expand Down

0 comments on commit 6de3505

Please sign in to comment.