Skip to content

syntax-highlighting ng (new fork) #48

@cav71

Description

@cav71

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've checked if anyone else suggested this feature before by looking through the issue reports.

Problem case

So far it looks there are quite few issues in the backburner, due to a combination of lack of manpower (likely), old code support (eg. mixed py2/py3) etc.

Solution

I decided to fork it and try to address them into a new fork called syntax-highlighting-ng.

The main goals here are:

  • support fully python 3.x (no backward compatibility)
  • use only anki21 (no backward compatibility)
  • start to refactor the code base so it is locally testable without using the main application (pytest)
  • support for mypy/ruff/black out of the box on commit (pre-commit)

The source is located here and the new addon is here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions