syntax-highlighting icon indicating copy to clipboard operation
syntax-highlighting copied to clipboard

A fork of Tiago Barroso's Syntax Highlighting add-on with support for Anki 2.1

Results 40 syntax-highlighting issues
Sort by recently updated
recently updated
newest added

#### Problem description Got the following exception (it disappeared after restarting and everything works, this is just FYI): ``` Error An error occurred. Please start Anki while holding down the...

bug

#### Problem description In Python3 certain keywords such as self, len, enumerate, list and str aren't highlighted. Additionally standard library functions like dict.get, list.append, and other standard library stuff like...

bug

#### Checklist *Please replace the space inside the brackets with an **x** if the following items apply:* - [x] I've verified that I use the latest version of the add-on...

enhancement

#### Problem description If you choose python 3 and just have a return statement that is just "return" as opposed to say "return foo" the "return" is not highlighted fortunately...

bug

#### 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...

question

#### Checklist *Please replace the space inside the brackets with an **x** if the following items apply:* - [x] I've verified that I use the latest version of the add-on...

enhancement
help wanted

Files in libs/pygments are copied from pygments 2.10.0 tag. Some languages don't have aliases and that will break the main.py file. Changes in main.py are to filter out those languages...

#### Problem description It would appear that this add-on isn't compatible with Night Mode. The Night Mode add-on is deciding the text color for unstyled text. Since Syntax-Highlighting creates a...

bug

#### Description [This comment](https://github.com/glutanimate/syntax-highlighting/issues/9#issuecomment-525381595) by [@hbergren](https://github.com/hbergren) prompted me to pull [this repo](https://github.com/fcurella/jsx-lexer/blob/master/jsx/lexer.py) into syntax-highlighting. With a couple of tweeks it's working. I have added a "JSX" option to the menu....

#### Problem description Syntax highlighting work as expected in normal (light) mode. For example, copying JavaScript code from VSCode and pasting it into an Anki card... ![Adding in light mode](https://user-images.githubusercontent.com/1895973/120439590-e2b16580-c3ac-11eb-9a59-6930e80e9db0.png)...

bug