April 01, 2021

On Thursday, 1 April 2021 at 07:27:38 UTC, Vladimir Panteleev wrote:

>

(This post best viewed on forum.dlang.org!)

[...]

This is really great news, thanks for your effort. but now I am little bit confused. Forum reply shows a checkbox "Enable Markdown".
Does this mean Markdown is also supported?
What features of markdown are supported?

Kind regards
Andre

April 01, 2021

On Thursday, 1 April 2021 at 07:27:38 UTC, Vladimir Panteleev wrote:

>

I am delighted to announce that as of today, you can use rich text formatting in forum.dlang.org messages.

Spectacular, Vladimir. You rock! Now gimme a blog post :-)

April 01, 2021

On Thursday, 1 April 2021 at 07:27:38 UTC, Vladimir Panteleev wrote:

>

[...]

And if the above is not sufficient to express your intent, there is the nuclear option: $(SCRIPT ...), which allows embedding arbitrary JavaScript to format your post in however way you desire. jQuery is preloaded, so go nuts!

[...]

$(SCRIPT function blink_text() {
$('.blink').fadeOut(500);
$('.blink').fadeIn(500);
}
setInterval(blink_text, 1000);)

Awesome!

:(

April 01, 2021

goodjob

April 01, 2021

add some color to the text?

April 01, 2021

On Thursday, 1 April 2021 at 07:35:07 UTC, Kagamin wrote:

>

On Thursday, 1 April 2021 at 07:27:38 UTC, Vladimir Panteleev wrote:

>

And if the above is not sufficient to express your intent, there is the nuclear option: $(SCRIPT ...), which allows embedding arbitrary JavaScript to format your post in however way you desire. jQuery is preloaded, so go nuts!

Ermm... what?

Right, this does NOT seem like a good idea... All the other improvements are of course welcome, though.

April 01, 2021
---
import std.stdio;
void main() { writeln("Hello, world!"); }
---

Gives this:


import std.stdio;
void main() { writeln("Hello, world!"); }

It's the triple backtick char ``` not the triple dash --- for fixed width chars.

April 01, 2021
> It's the triple backtick char ``` not the triple dash --- for fixed width chars.

Second issue: <code> block in a <pre> element.

Third issue: One of my old browsers uses the standard serif font
to format the <code> block, because in a file named hightlight-js.css
font-family is reported to be "unset".

`‍``

Fourth issue: Please use lokal URL as much as possible:

https://forum.dlang.org/font-awesome/4.4.0/css/font-awesome.min.css

instead of

https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css

I strongly dislike those data transmissions to third parties as here:

http://www.gravatar.com/avatar/...

April 01, 2021
On 4/1/21 8:23 AM, WebFreak001 wrote:
> On Thursday, 1 April 2021 at 07:27:38 UTC, Vladimir Panteleev wrote:
>> [...]
>>
>> And if the above is not sufficient to express your intent, there is the nuclear option: `$(SCRIPT ...)`, which allows embedding arbitrary JavaScript to format your post in however way you desire. jQuery is preloaded, so go nuts!
>>
>> [...]
> 
> $(SCRIPT function blink_text() {
>      $('.blink').fadeOut(500);
>      $('.blink').fadeIn(500);
> }
> setInterval(blink_text, 1000);)
> 
> <span class="blink">Awesome!</span>
> 
> :(

I'm looking at https://forum.dlang.org/post/zhlzsaocdupxwgvbrauu@forum.dlang.org and nothing special. Should run the script, no?
April 01, 2021
On 4/1/21 10:30 AM, Andrei Alexandrescu wrote:
> On 4/1/21 8:23 AM, WebFreak001 wrote:
>> On Thursday, 1 April 2021 at 07:27:38 UTC, Vladimir Panteleev wrote:
>>> [...]
>>>
>>> And if the above is not sufficient to express your intent, there is the nuclear option: `$(SCRIPT ...)`, which allows embedding arbitrary JavaScript to format your post in however way you desire. jQuery is preloaded, so go nuts!
>>>
>>> [...]
>>
>> $(SCRIPT function blink_text() {
>>      $('.blink').fadeOut(500);
>>      $('.blink').fadeIn(500);
>> }
>> setInterval(blink_text, 1000);)
>>
>> <span class="blink">Awesome!</span>
>>
>> :(
> 
> I'm looking at https://forum.dlang.org/post/zhlzsaocdupxwgvbrauu@forum.dlang.org and nothing special. Should run the script, no?

Check your settings to make sure ddoc processing is turned on.

-Steve