Page 1 of 1

BBCode Formatting Samples

Posted: 2021-Feb-Tue 07:03 pm
by arceus0
Showcase of the BBCode tags added for this forum.


Native text formatting:

Code: Select all

[b]bold[/b] , [i]italic[/i], [u]underline[/u], [s]strikethrough[/s]
bold , italic, underline, strikethrough

Other text formatting:

Code: Select all

[sub]subscript[/sub]
[sup]superscript[/sup]
[ff=cursive]cursive text[/ff]
[ff=fantasy]fantasy text[/ff]
[EVIL]evil text[/EVIL]
subscript
superscript
cursive text
fantasy text
evil text

Re: BBCode Formatting Samples

Posted: 2021-Jun-Sat 06:08 pm
by arceus0

Layout Samples

The forum adds a few bbcode extensions to mark text layout, in particular for headers and tables.

Headings and Sections

Code: Select all

[h1]Header 1[/h1]
[h2]Header 2[/h2]
[h3]Header 3[/h3]
[h4]Header 4[/h4]
[h5]Header 5[/h5]
Horizontal line:
[hr][/hr]

Header 1

Header 2

Header 3

Header 4

Header 5
Horizontal line:
:idea: phpBB uses headers h1 and h2 as built-in to organize and style forum sections and posts, so where possible, headings in posts by users should use h3, h4 and h5 instead, which also style better as content for posts.

Tables

This bbcode forum also implements the HTML tags for constructing simple tables. The implementation is intentionally simple and no more options are provided.

Code: Select all

[table]
[tr] [td] A, 1 [/td][td] A, 2 [/td][/tr]
[tr] [td] B, 1 [/td][td] B, 2 [/td][/tr]
[/table]
A, 1 A, 2
B, 1 B, 2

Media Support

This section is in the works.

Code: Select all

[audio](pending)[/audio]
[video](pending)[/video]
[youtube]dQw4w9WgXcQ[/youtube]

[audio](pending)[/audio]
[video](pending)[/video]