Jump to content

BBCode vs. Markdown


LukasPJ

Recommended Posts

I can change the forums to use Markdown instead of BBCode. There are a lot of pros and cons, but you can probably find them online.


In the end, I believe it comes down to a religious debate. I can also look at making it possible to use both, but if the community is heavily leaning towards one, it might not be worth the trouble :)


Edit: Also first poll test.


Edit edit: Stopped the poll because MarkDown will now work in cooperation with BBCodes, as best as possible.

Link to comment
Share on other sites

Infernal Markdown compatibility test:

--------------------



Header 1

========


Header 2

--------


--------


# Header 1

## Header 2

### Header 3

#### Header 4

##### Header 5

###### Header 6


--------


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla neque nisl, fringilla sed blandit non, pretium eu odio.


Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Nulla neque nisl, fringilla sed blandit non, pretium eu odio.


--------


> Lorem ipsum dolor sit amet, consectetur adipiscing elit.

> Nulla neque nisl, fringilla sed blandit non, pretium eu odio.


> Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Nulla neque nisl, fringilla sed blandit non, pretium eu odio.


--------


> Lorem ipsum dolor sit amet,

> > consectetur adipiscing elit.

> > Nulla neque nisl,

> fringilla sed blandit non, pretium eu odio.


--------


> ### H3

>

> > This is a nested blockquote

>

> * list

> * list


--------


* one

* two

* three


--------


1. one

2. two

3. three


--------


Lorem ipsum dolor sit amet


consectetur adipiscing elit.

Nulla neque nisl, fringilla sed blandit non, pretium eu odio.


--------



Hello World!



--------


Don't forget to add `echo $foo;`.


Please replace `` to ``.


--------


* * *


*******


- - - -


--------


This is an [inline link](http://example.com).


This [link](http://example.com "example website") has title attribute.


--------


This is an [reference style link][id1].


This [link][id2] has title attribute.


[id1]: http://example.com/

[id2]: http://example.com/ "example website"


--------


You can [omit the id of the link][].


[omit the id of the link]: http://example.com/


--------


*single asterisks*


_single underscores_


**double asterisks**


__double underscores__


--------


![Alt text](/path/to/image.png)


![Alt text](/path/to/image.png "Title")


--------


![Alt text][id1]


![Alt text][id2]


[id1]: /path/to/image.png

[id2]: /path/to/image.png "Title"


--------


GFM

--------


http://www.example.com


--------


~~strike~~


--------


```

$ git clone https://github.com/kzykhys/Ciconia.git

$ cd Ciconia

$ composer install

```

--------


``` php

<?php


require __DIR__ . '/vendor/autoload.php';

```

--------


- [ ] This is an imcomplete task.

- [x] This is a complete task.


--------


| head | head |

|------|------|

| body | body |


--------


head | head

-----|-----

body | body


--------


| head | head |

|-----:|:----:|

| body | body |

Link to comment
Share on other sites

I'll be honest, I don't really care. As long as there's a formatting popup window to give me hints on how to format, then BBCode or Markdown makes no difference to me. So, with that said, I should mention that the "BBCode" link down the bottom should target _new or _blank or whatever it is, rather than using the current window and potentially losing what you've typed in your post so far.

Link to comment
Share on other sites

I'll be honest, I don't really care. As long as there's a formatting popup window to give me hints on how to format, then BBCode or Markdown makes no difference to me. So, with that said, I should mention that the "BBCode" link down the bottom should target _new or _blank or whatever it is, rather than using the current window and potentially losing what you've typed in your post so far.

 

Good catch, I'll get that fixed asap.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...