develooper Front page | perl.perl5.porters | Postings from November 2021

reStructuredText WAS Re: Pre-RFC: markdown in pod

Thread Previous | Thread Next
From:
Felipe Gasper
Date:
November 15, 2021 22:31
Subject:
reStructuredText WAS Re: Pre-RFC: markdown in pod
Message ID:
3048713D-7155-48D1-A7AF-7DC35C7A554B@felipegasper.com

> On Nov 15, 2021, at 14:58, Nicholas Clark <nick@ccl4.org> wrote:
> 
> And I guess there's also the elephant in the room - even CommonMark is no
> good as-is, because *all* markdown permits you to inline HTML, which makes
> sense for it. We need to specify "Markdown, but without inline HTML", else
> how do we target perldoc?

Another way to say this is: Markdown *targets* HTML, more or less by design. It doesn’t really intend to render to plain text—at least, a while back when I looked for a Markdown-to-text renderer I came up empty.

A bit earlier in this thread I mentioned reStructuredText. From what I can see, this format is basically “like Markdown but renders to text”. What if Perl went this route instead?

-FG
Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About