glutanimate / syntax-highlighting

A fork of Tiago Barroso's Syntax Highlighting add-on with support for Anki 2.1
https://ankiweb.net/shared/info/1463041493
Other
108 stars 27 forks source link

allow version numbers that start with 23 or 24 #49

Closed t0nghe closed 7 months ago

t0nghe commented 7 months ago

Description

On Anki version 23.10 and onwards, “Syntax Highlighting for Code” addon fails to load. This is due to addon_path not being correctly handled.

This bug is fixed by allowing version numbers that start with 23 and 24.

Checklist:

Please replace the space inside the brackets with an x and fill out the ellipses if the following items apply:

t0nghe commented 7 months ago

PR #47 does the same thing and it seems better.