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

[Bug] No wrap option for codeblocks does not work #265

Open
BraydenCarlson opened this issue Apr 11, 2024 · 0 comments
Open

[Bug] No wrap option for codeblocks does not work #265

BraydenCarlson opened this issue Apr 11, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@BraydenCarlson
Copy link

Describe the bug
Setting the codeblock line wrap options to "No Wrap" does not work. Words continue to be wrapped regardless of mode (edit, preview, and read).

To Reproduce
Steps to reproduce the behavior:

  1. Go to Options > Style Settings > AnuPpuccin > File Editor and Markdown Elements > Codeblocks
  2. Select "No Wrap" from the dropdown for all codeblock line wrap options
  3. Create a codeblock in a note with a line length longer than the display.
  4. See that the words are wrapped and there is no horizontal scrollbar.

Expected behavior
Codeblocks should not word wrap and should have a horizontal scrollbar when "No Wrap" is selected.

Screenshots
image

Reading mode:
image

Edit mode:
image

@BraydenCarlson BraydenCarlson added the bug Something isn't working label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants