Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to on/off the automatic line numbers #25

Open
3 tasks done
izanagiii opened this issue Aug 6, 2020 · 1 comment
Open
3 tasks done

Option to on/off the automatic line numbers #25

izanagiii opened this issue Aug 6, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@izanagiii
Copy link

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

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

@izanagiii izanagiii added the enhancement New feature or request label Aug 6, 2020
@amaramrahul
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants