notaapp / talk

Issues and discussions for the notes app, Nota.
https://nota.md
59 stars 1 forks source link

Turn off line-wrapping for code blocks please 😌 #246

Open GraphicOwls opened 2 years ago

GraphicOwls commented 2 years ago

It would be great if we had an option to turn off line-wrapping for code blocks. If we had a quick copy button too, it would be a nice plus.

astoilkov commented 2 years ago

I agree. It would be an enhancement if code blocks didn't have to wrap.

For copying, have you tried ⌘L (select line) and then ⌘E (expand selection)? This will quickly select the contents of a code block. Expand Selection – Nota Docs

GraphicOwls commented 2 years ago

Hey there, Yes, I am aware of that for copying, thanks. I think the copy button is just a nice added benefit for efficiency. However, the no-line wrapping is more important for me, because I find the code much easier to read. Wrapped lines makes code look so messy.