Adding Markodwn formatting to psql output - Mailing list pgsql-hackers

From Lætitia Avrot
Subject Adding Markodwn formatting to psql output
Date
Msg-id CAB_COdiiwTmBcrmjXWCKiqkcPgf_bLodrUyb4GYE6pfKeoK2eg@mail.gmail.com
Whole thread Raw
Responses Re: Adding Markodwn formatting to psql output
List pgsql-hackers
Hi,

I write often documents for my customers in MarkDown to produce pdf documents. Quite often, I need to present data from queries in a tabular form.

Psql output provides formatting in text (aligned and unaligned), HTML, latex, JSON (and so many more) but not in MarkDown. The aligned output is quite similar to the MarkDown output. It seems quite easy to develop (so, pretty great for my first real patch). To toggle it, I imagine, we could use `pset markdown`.

My colleague (Jean-Christophe Arnu) and I worked a little on it, but I think the difficulty lies in the "Do we want/need to add that feature ?" question.

On the Pros side, I have "I would love it and use it all the time". On the Cons side, I have "There are multiple flavors of markdown, which one do we need to implement".

Any thoughts ?

Regards,

Lætitia
--
Think! Do you really need to print this email ?
There is no Planet B.

pgsql-hackers by date:

Previous
From: Euler Taveira
Date:
Subject: Re: behave of --create-slot option
Next
From: Euler Taveira
Date:
Subject: Re: Adding Markodwn formatting to psql output