clovenhooves Help Documents Formatting Posts
Formatting Posts

clovenhooves supports both Markdown formatting and BBCode to format your posts. Both formats are automatically applied upon submitting a post. (The rich-text editor only supports previewing the default BBCode supported by MyBB.) It is up to your preference which one you would like to use for text formatting. Some special formatting is only available with BBCode.

Basic Formatting

Bold

Input Output
[b]This text is bold[/b] This text is bold
**This text is bold**
__This text is bold__

Italics

Input Output
[i]This text is italicized[/i] This text is italicized
*This text is italicized*
_This text is italicized_

Underline

Input Output
[u]This text is underlined[/u] This text is underlined

Strikethrough

Input Output
[s]This text is struck out[/s] This text is struck out
~~This text is struck out~~

Links and Emails

URLs

Input Output
[A link to clovenhooves.org](https://www.clovenhooves.org) A link to clovenhooves.org
[url=https://www.clovenhooves.org]A link to clovenhooves.org[/url]

Simple email link

Input Output
[email][email protected][/email] [email protected]

Email link

Input Output
[An email link for [email protected]](mailto:[email protected]) An email link for [email protected]
[[email protected]]An email link for [email protected][/email]

Email link with subject

Input Output
[An email link with a subject](mailto:[email protected]?subject=Hello) An email link with a subject
[[email protected]?subject=Hello]An email link with a subject[/email]

Quotes

Basic quote

Input Output
> Quoted text here
Quote: Quoted text here
[quote]Quoted text here[/quote]

Quote with an author

Input Output
[quote="An author"]Quoted text here[/quote]
An author: Quoted text here

Quote another forum post

Input Output
[quote='Admin' pid='1' dateline='946684800']Quoted text will be here[/quote]
(01-01-2000, 12:00 AM) Admin Wrote: Quoted text will be here

This format is used when quoting posts. pid links to a post, dateline is a UNIX timestamp.

Advanced formatting

Text color

Input Output
[color=crimson]This text is crimson[/color] This text is crimson
[color=#7B4EE5]This text is purple[/color] This text is purple

Can use either CSS color name or HEX code.

Note: In order to ensure readability in both light and dark mode, some text colors may be removed upon previewing/submitting your post. To check if your text color is valid, try swapping between the rich-text mode and source mode in the full text editor. If your color is unreadable in one of the modes, the color tags will disappear.

Text size

To adjust text size, you can either set the size directly or use # to apply Markdown headers. The more "#" symbols in front of text, the smaller the text becomes.

Input Output
[size=large]This text is large[/size]

Acceptable values: xx-small, x-small, small, medium, large, x-large, xx-large
This text is big
[size=12]This text has size=12px[/size]

Accepts numbers from 1 to 50
This text has size=12px
# This is a level 1 header

This is a level 1 header

##### This is a level 5 header
This is a level 5 header

Text alignment

Input Output
[align=center]This is centered[/align] This is centered
[align=right]This is right-aligned[/align] This is right-aligned

Acceptable values: left, center, right, justify

Images

Input Output
[img]https://secure.php.net/images/php.gif[/img]
![Alternate text](https://secure.php.net/images/php.gif)
[img=50x50]https://secure.php.net/images/php.gif[/img]

Format is width x height

Lists

Unordered list

Input Output
[list]
[*] List item #1
[*] List item #2
[*] List item #3
[/list]
  • List item #1
  • List item #2
  • List Item #3
* List item #1
* List item #2
* List item #3

Ordered list

Input Output
[list=1]
[*] List item #1
[*] List item #2
[*] List item #3
[/list]

1 can be used for a numbered list, a can be used for an alphabetical list, i for a roman numerals list.
  1. List item #1
  2. List item #2
  3. List Item #3
1. List item #1
2. List item #2
3. List item #3

To cancel the ordered list effect, add a "\" before the "." like so: 2\.

Special formatting

Code

Input Output
[code]Text with preserved formatting[/code]
Code:
Text with preserved formatting
```Text with preserved formatting```
[php]<?php echo "Hello world!";?>[/php]
PHP Code:
<?php echo "Hello world!";?>

Horizontal rule

Input Output
A line that[hr]divides A line that
divides
A line that

---

divides

Disable markdown

Input Output
[nmd]**Markdown** parsing will *be* disabled for this ~~text~~[/nmd] **Markdown** parsing will *be* disabled for this ~~text~~

Embedded video

[video=youtube]https://www.youtube.com/watch?v=dQw4w9WgXcQ[/video]

Currently accepts Dailymotion, Facebook, LiveLeak, Metacafe, Mixer, MySpace TV, Twitch, Vimeo, Yahoo Videos and YouTube.

Custom BBCode

clovenhooves includes some custom MyCode (MyBB's custom BBCode).

Inline code

Input Output
normal text and `inline code text` to follow normal text and inline code text to follow

Spoilers

Input Output
||Text to be hidden with spoilers||
SpoilersText to be hidden with spoilers

Expandable text

Input Output
[expand="Custom header"]Text to expand[/expand]
Custom headerText to expand