-
Notifications
You must be signed in to change notification settings - Fork 1
Specs
This contains the BBCode tags of every forum I use. Some forums contains features that I don't plan to support, mostly because they require a rewrite in the tokenizer or isn't intended to do Markdown posts. In any case, you can still write BBCode tags manually mixed with the Markdown text.
Supports
-
Bold text:
[b][/b]
-
Italic text:
[i][/i]
-
Underline text:
[u][/u]
-
Text size:
[size=X][/size]
In some way, it represents a decimal number: 0.5, 0.85, 1.0, 1.5, 2.0- Tiny:
[size=50]
- Small:
[size=85]
- Normal:
[size=100]
- Large:
[size=150]
- Huge:
[size=200]
- Tiny:
-
Text color:
[color=red][/color]
or[color=#FF0000][/color]
-
URL:
[url]http://url[/url]
or[url=http://url]URL text[/url]
-
Image:
[img][/img]
-
Code text:
[code][/code]
-
List item:
[*] Item text
-
Unordered list:
[list][/list]
-
Ordered list:
[list=1][/list]
or[list=A][/list]
or[list=I][/list]
-
Quotes
[quote][/quote]
or[quote=AUTHOR][/quote]
-
Strike text:
[s][/s]
-
Inline code:
[c][/c]
Supports everything from PHP Community Forum with exception:
Supported by the forum but not implemented
- Spoiler:
[spoiler=][/spoiler]
or[spoiler=TITLE][/spoiler]
(Bugged in this forum, only once per post) - Horizontal line:
[hr][/hr]
- Strike:
[strike][/strike]
Supported by the forum but not implemented in the markdown converter - Alignment:
[left][/left]
,[center][/center]
,[right][/right]
and[justify][/justify]
- Spoiler:
[spoiler][/spoiler]
or[spoiler=TITLE][/spoiler]
(Bugged in this forum, only once per post) - Horizontal line:
[hr]
- Hide until post: ``[hide][/hide]`
- Embed:
[embed][/embed]
- Tables:
[table][tr][td][/td][/tr][/table]
- Youtube video:
[youtube]VIDEO_ID[/youtube]
- Youtube video:
[video=youtube][/video]
- Bold text:
[b][/b]
- Italic text:
[i][/i]
- Underline text:
[u][/u]
- Text size:
[size=X][/size]
starts from 1 (smallest) up to 7 (biggest). - Text color:
[color=red][/color]
or[color=#FF0000][/color]
- Text font name:
[font=Courier New][/font]
- URL:
[url]http://url[/url]
or[url=http://url]URL text[/url]
- Image:
[img][/img]
- Code text:
- No syntax coloring:
[code][/code]
- PHP:
[php][/php]
- HTML:
[html][/html]
- No syntax coloring:
- List item:
[*] Item text
- Unordered list:
[list][/list]
- Ordered list:
[list=1][/list]
or[list=a][/list]
or[list=i][/list]
- Quotes
[quote][/quote]
or[quote=AUTHOR][/quote]
Supported by the forum but not implemented in the markdown converter
- Youtube video:
[youtube]VIDEO_ID[/youtube]
- Spoiler:
[spoiler][/spoiler]
or[spoiler=TITLE][/spoiler]
- Indent:
[indent][/indent]
Can be used multiple times - Email:
[email][/email]
- Alignment:
[left][/left]
and[center][/center]
and[right][/right]
Not supported
- Image:
[previewimg=id;size;align;filename]
requires you to upload everything to his server. So basically you have to add them by hand. There's no way to translate this in the markdown parser so leave a placeholder and add it manually.