-
|
Hi, Sometimes I would like to be able to edit the HTML source of my messages, as shown by I am no Elisp wizard, but I might take a stab at it if some guidance is available. As I like manipulating "low-level" things, I feel it would be cool to have something like that, and would incidentally help deal with #329 in clients with weird HTML renderers. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
I think broadly you would look at the org-mode support and do something similar to that. The major difference would be that the text you compose should end up as the HTML formatted part of the message, and it's the plain-text part which you would need to generate as a derivative (for which you would use the standard shr.el library, which is already used by ement.el for rendering HTML). |
Beta Was this translation helpful? Give feedback.
I think broadly you would look at the org-mode support and do something similar to that.
The major difference would be that the text you compose should end up as the HTML formatted part of the message, and it's the plain-text part which you would need to generate as a derivative (for which you would use the standard shr.el library, which is already used by ement.el for rendering HTML).