From: | Jacob Champion <jchampion(at)timescale(dot)com> |
---|---|
To: | Magnus Hagander <magnus(at)hagander(dot)net> |
Cc: | Sahil Harpal <sahilharpal1234(at)gmail(dot)com>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org> |
Subject: | Re: Email raw text to HTML |
Date: | 2022-08-04 17:21:33 |
Message-ID: | CAAWbhmiU8nYQVx7DkH55bWLpGH8btvoY-hKuL394rLiaG4Ztjg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-www |
On Thu, Aug 4, 2022 at 7:04 AM Magnus Hagander <magnus(at)hagander(dot)net> wrote:
>
> On Thu, Aug 4, 2022 at 11:55 AM Sahil Harpal <sahilharpal1234(at)gmail(dot)com> wrote:
> >
> > Hello,
> > I am curious about how Gmail converts plain text (Raw data) mail into a beautiful interface. Is there any library or something that will help us to transform plain text into HTML?
> > I am aiming to represent text (email message body) as it is being displayed in any mailing services like gmail, yahoo or outlook. The motive is the text should be readable. It is not just about enclosing previous replies in the blockquote tag but we can even handle bold, italic, bullets, tables etc.
>
> As a regular user of gmail, I think that would be a bad way to go. I
> find gmails way of rendering emails is particularly bad when it comes
> to things like inline code snippets etc. For one, it insists on not
> using a monospace font...
Quick +1 here... I love Gmail, but for some threads I have to escape
it and pull up Thunderbird (which monospaces correctly) or jump to the
website. And I manually align parts of my mail for readability (e.g.
[1]). If the website adopted the same strategy as Gmail, I would be
sad.
--Jacob
[1] https://www.postgresql.org/message-id/55c7c8ef-8bc7-22ce-f240-dc3eaa14e34e@timescale.com
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2022-08-05 10:25:53 | Re: pgarchives new design review |
Previous Message | Magnus Hagander | 2022-08-04 14:04:12 | Re: Email raw text to HTML |