Zettlr icon indicating copy to clipboard operation
Zettlr copied to clipboard

Add 'Insert Code' button to toolbar

Open jdnicholas opened this issue 1 year ago • 1 comments

Description

Sometimes I paste code from elsewhere into my md documents, and it would be nice to already have the code symbols inserted to paste between, rather than having to highlight the code then select the code option after pasting, and depending which keyboard I am using, I don't always seem to have the correct symbol for formatting as code.

On a related note, the symbol for inserting comment in the toolbar and the popup when highlighting text do not match. (see e.g. #4621). The symbol in the toolbar is used to insert a comment, but is used to insert code in the highlight popup.

Proposed Changes

Add 'Insert Code' button to the toolbar

Caveats

None that I am aware of? Taking up more toolbar space? But there seems to be plenty.

Do you Wish to Attempt Implementing this Yourself?

No

Zettlr Version

Stable (most recent version)

Your Platform

  • [X] Windows
  • [ ] macOS
  • [ ] Linux

Operating System Version

Windows 10

Additional Information

No response

jdnicholas avatar Sep 07 '23 14:09 jdnicholas

please ping the file path for the button to be included. if you could assign this to me, i would love to do it,

Allan2000-Git avatar Dec 10 '23 13:12 Allan2000-Git