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

Option to on/off the automatic line numbers #25

Open izanagiii opened 4 years ago

izanagiii commented 4 years ago

Checklist

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

Problem case

Hi When using the syntax highlighter there is an automatically added line numbers which are misplaced if I add indentation or add/remove lines

Solution

it would be great if you could add an option in the config to be able to turn off the line numbering to fix the problem

Concisely describe alternatives you've considered (if any) I used HTML/CSS in my note template to work around this issue and could remove the line numbering in my card review but it would be great to have this effect without HTML/CSS and in the editor screen as well since it get's so messy for large codes.

More information

Additional context: Add any other context or screenshots about the feature request here. image

Thanks in advance

amaramrahul commented 2 years ago

There is already an option to turn off line numbers while highlighting code.

image

This configuration option is also mentioned on the plugin page: https://ankiweb.net/shared/info/1463041493