Rich text formatting is now available on forum.dlang.org

ag0aep6g anonymous at example.com
Fri Apr 2 10:12:25 UTC 2021


On 02.04.21 09:56, Vladimir Panteleev wrote:
> On Thursday, 1 April 2021 at 16:21:42 UTC, ag0aep6g wrote[...]
> I have added a lint rule which warns on thus omitted HTML code, and 
> offers to fix it (by adding escaping backslashes).

Nice, but the warning doesn't show up for me. Probably not deployed yet?

Does the forum even support any HTML tags? If not, there's no point in 
stripping them. But maybe that's a limitation of the Markdown library 
you're using.

[...]
> Yes. This applies to all Markdown formatting in general. This is why 
> Markdown formatting is disabled by default when replying to a post which 
> was not in Markdown. If the author of the reply wishes to enable it, it 
> is on them to ensure that the quoted parts of parent posts still make 
> sense when rendered as Markdown.

As far as I'm aware, the newsgroup and mailing list interfaces are 
popular among forum regulars. If replying to them with Markdown is 
difficult, that's going to be annoying for the web users.

Luckily, the difference Markdown makes will be benign most of the time. 
It's not a big deal when "**emphasis**" or "`some code`" get interpreted 
as Markdown.


More information about the Digitalmars-d mailing list