Check out our Monthly Survey Page to see what our users are running.
[DONE] Inconsistent Markdown support?
Page: 1/2»
  Go to:
Shmerl 17 May 2020 at 11:22 pm UTC

Looks like comments and forum posts now use Markdown at least for links, but it doensn't work for example for images.

I tried this, and it doesn't work:

![](https://i.imgur.com/StUEEo9.jpg)



The link however works fine
[test link](https://i.imgur.com/StUEEo9.jpg)

test link

Last edited by Liam Dawe on 18 May 2020 at 3:24 pm UTC

Liam Dawe 18 May 2020 at 3:24 pm UTC

Hi, this has now been implemented.

Shmerl 18 May 2020 at 3:42 pm UTC

Thanks!

Liam Dawe 18 May 2020 at 4:01 pm UTC

I've gone back and converted all forum posts and comments from img bbcode to markdown now too, bbcode for images has been removed. Let me know if you encounter any issues.

Shmerl 18 May 2020 at 4:06 pm UTC

By the way, why not go Markdown all the way then? It's going to be more consistent than using part of the syntax with bbcode and part with markdown.

For example for code it's easier to do:


foo bar() {
}


or

`foo`

than

[code]
foo bar() {
}
[ /code]


or

[code]foo[ /code]

Are you using some standard engine for that, or you have to implement each syntax rule explicitly?

Last edited by Shmerl on 18 May 2020 at 4:24 pm UTC

Liam Dawe 18 May 2020 at 4:39 pm UTC

We are, things like that take time. You can't just slot markdown into an old system and have it work. Each individual one needs implementing, testing and then converting from bbcode to ensure no breakage. We have ~10 years of posts to ensure they keep working and rendering doesn't break.

Shmerl 18 May 2020 at 4:41 pm UTC

Got it, thanks for working on it!

randyl 18 May 2020 at 9:40 pm UTC

The markdown work is cool. Thanks!

Liam Dawe 20 May 2020 at 4:38 pm UTC

Codeblocks moved to markdown now too. Hooray for backticks.

Shmerl 20 May 2020 at 4:45 pm UTC

Test

foo bar() {
}


before `foo bar()` after

Last edited by Shmerl on 20 May 2020 at 4:47 pm UTC

Shmerl 20 May 2020 at 4:45 pm UTC

Great, thanks!

Big block works, but small section doesn't seem to. But it's different from bbcode in that regards (bbcode doesn't support inline code at all as far as I know).

Last edited by Shmerl on 20 May 2020 at 4:50 pm UTC

You need to Register and Login to comment, submit articles and more.


Or login with...