This addon adds a context menu option named Paste Code, which pastes the content of your clipboard formatted as code into your message.
- Currently, there is a manual maintained list of keywords which are formatted bold automatically
- The code is appended to the mail message, not inserted where your cursor is
- Run
bundle.sh
, which will create thexpi
file, and install it in your Thunderbird profile.
There is already a way to format code as pre-formatted and monospace, option Preformat in the paragraph format select box. But there is no way to set a different background to separate it more from the normal text, and long lines do not break automatically.