Open castellco opened 9 months ago
Hi, yes it's on my list of add-ons to update.
I'm looking forward to it. Thanks!
This patch should fix the issue: https://github.com/glutanimate/syntax-highlighting/pull/47
@glutanimate @dluschan thanks for the incredible tool ankit is. Would you consider to share the burden to maintain this repo with someone that can help? This pull request is kind of ready to go, but hold for weeks (see47).
Looking forward to running this on new version -
Anki 23.12.1 (1a1d4d54) (ao) Python 3.9.15 Qt 6.6.1 PyQt 6.6.1 Platform: Linux-5.15.0-88-generic-x86_64-with-glibc2.35
When loading Syntax Highlighting for Code:
Traceback (most recent call last):
File "aqt.addons", line 245, in loadAddons
File "/home/usr.local/share/Anki2/addons21/1463041493/__init__.py", line 15, in <module>
from . import main
File "/home/usr/.local/share/Anki2/addons21/1463041493/main.py", line 21, in <module>
from .consts import * # import addon_path
File "/home/usr/.local/share/Anki2/addons21/1463041493/consts.py", line 22, in <module>
addon_path = os.path.dirname(__file__).decode(sys_encoding)
AttributeError: 'str' object has no attribute 'decode'
Oh this looks like a quick fix, ^ can I help to create a PR if previous one is stale?
@Lexora I wrote a fork here syntax-highlighting-ng / 566351439: it includes improvements and fixes for the newest Anki version.
Just checking in to see if this will be updated for the newest version of anki? Great add-on here, thanks for your work
@Lexora I wrote a fork here syntax-highlighting-ng / 566351439: it includes improvements and fixes for the newest Anki version.
Thanks a lot @cav71
Checklist
Please replace the space inside the brackets with an x if the following items apply:
Your question
Are there any plans to update it to version 23.10? This add on is the best for learning code, but it is incompatible with the latest version of Anki. Please.