Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Feature Request : A way to customize HTML generation after sundown

#3171

Hi Benny,

After sundown...

Is there a way for regaining the ability to customize HTML generation from Markdown (both for previews and for the final content before sending) ?

Unless I am mistaken, at one point in time, the markdown->html conversion was switched to make use of an internal commonMark library (instead of an external program). I can see the benefits of the new approach, especially relating to performance improvements.

But now, there doesn't seem to be any way to influence HTML generation or swap in an alternative markdown flavor or implementation... or add/remove markdown features.

BTW, I do share MailMate's basic opinionated stand (of leanly marked-up text), but occasionaly, I do need to make use of something a bit fancier (like underline, or color).

If MailMate allowed to use an external program that reads markdown on stdin and prints HTML on stdout, like before, the whole thing could be elegantly solved... (optionally, without much preprocessing or escaping by MailMate itself).

This doesn't have to be the default mechanism, just as long as we can configure it, like with the three hidden preferences below :

  • enable/disable the feature
  • path to the executable
  • turn preprocessing on/off (that MailMate seems to do for escaping and automatic link detection)

Cheers,
Ayhan

Reported by Ayhan · December 22nd, 2022 @ 04:33 AM

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. Ayhan
    Ayhan
    • Tag set to generation, html, markdown, sundown

    December 22nd, 2022 @ 04:34 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.