Skip to content

Instantly share code, notes, and snippets.

@harry-wood
Created November 7, 2022 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harry-wood/13b4154cdce24adf20c72c3ff863d9b6 to your computer and use it in GitHub Desktop.
Save harry-wood/13b4154cdce24adf20c72c3ff863d9b6 to your computer and use it in GitHub Desktop.
BBCode syntax examples
[h]Fluxbb bbcode tests[/h]
[h]Text[/h]
[b]Bold text[/b]
[u]Underlined text[/u]
[i]Italic text[/i]
[s]Strike-through text[/s]
[del]Deleted text[/del]
[ins]Inserted text[/ins]
[em]Emphasised text[/em]
[color=#FF0000]Red text[/color]
[color=blue]Blue text[/color]
[h]Heading text[/h]
[h]Linking[/h]
[url=https://www.discourse.org/]Link with link text[/url]
[url]https://www.discourse.org/[/url] - Link without link text
[url=/about]Relative link[/url]
[email]myname@example.com[/email] - email link without link text
[email=myname@example.com]Email link with link text[/email]
[topic=1]Internal link to fluxbb topic with link text[/topic]
[topic]1[/topic] - Internal link to fluxbb topic without link text
[post=1]Internal link to fluxbb post with link text[/post]
[post]1[/post] - Internal link to fluxbb post without link text
[forum=1]Internal link to fluxbb forum with link text[/forum]
[forum]1[/forum] - Internal link to fluxbb forum without link text
[user=2]Internal link to fluxbb user profile with link text[/user]
[user]2[/user] - Internal link to fluxbb user without link text
[img]http://www.ruby-lang.org/images/header-ruby-logo.png[/img]
[h]Quotes[/h]
[quote=James]This is the text I want to quote.[/quote]
[quote]This is the text I want to quote.[/quote]
[h]Code[/h]
[code]This is some code.[/code]
[code]
This
is
some
code
with
indentation
and
newlines
[/code]
[h]Lists[/h]
[list][*]Example list item 1.[/*][*]Example list item 2.[/*][*]Example list item 3.[/*][/list]
[list=1][*]Example list item 1.[/*][*]Example list item 2.[/*][*]Example list item 3.[/*][/list]
[h]Nested tags[/h]
[b][u]Bold, underlined text[/u][/b]
[h]Smilies[/h]
(optionally enabled on fluxbb)
:) and =)
:| and =|
:( and =(
:D and =D
:o and :O
;)
:/
:P and :p
:lol:
:mad:
:rolleyes:
:cool:
END OF TEST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment