Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
109 lines (77 sloc) 3.42 KB
name
Hanayo BBCode

Hanayo BBCode

This document contains information about Hanayo's (Ripple's) version of BBCode.

Ripple uses frustra/bbcode as its BBCode parser, and so it uses the default tags, which are to say the classic [b], [i], [u], [s], [img], [url], [center], [color], [quote], and [code]. Everything else is documented here.

Emoji

Yes, we do support emoji. Use getemoji.com if you want a list of emojis to copy and paste. We still do not support the GitHub-style :joy:, but that will happen some day.

We also have a few custom emojis, that can be indeed invoked using the colon syntax. Those are:

:peppy:
:barney:
:akerino:
:foka:
:kappy:
:creepypeppy:
:peppyfiero:
:djpeppy:
:kappa:

It's up to you to experiment with these.

list, *

To create an unordered list, use [list], together with [*] to make elements.

[list]
[*] Element
[*] Another element
[*] Yet another element
[/list]

youtube

To embed a youtube video, use [youtube], and insert the video URL, or video ID, inside the tag. Links can also have useless stuff inside of them, and it will be ignored. What is important is for there to be a v parameter.

[youtube]https://www.youtube.com/watch?v=dQw4w9WgXcQ[/youtube]
[youtube]dQw4w9WgXcQ[/youtube]
[youtube]https://www.youtube.com/watch?v=dQw4w9WgXcQ&UselessJargon=Nicemme[/youtube]

Default video side will be 100% width of the container. If you want to make it smaller, use a container.

left, right

Basically the same as [center]. They respectively left-align or right-align text.

[right]right aligned text[/right]

container

A container allows to put some text or youtube video or image in a restricted width, or a container with other attributes.

Parameters Description
width Width of the container, in pixels.
compact Enter any value to enable (e.g. compact=1). To put images so that they will arrange nicely together to create a sort of "image map", for instance using the banner maker
center Enter any value to enable (e.g. center=1). Image centering
[container width=150]150px wide container![/youtube]
[center][container width=616 compact=1 center=1][img]https://www.osustuff.org/img/imageslice/2016-11-24/6163/33325.png[/img]
[img]https://www.osustuff.org/img/imageslice/2016-11-24/6163/33326.png[/img][url=https://google.com][img]https://www.osustuff.org/img/imageslice/2016-11-24/6163/33327.png[/img][/url][img]https://www.osustuff.org/img/imageslice/2016-11-24/6163/33328.png[/img]
[img]https://www.osustuff.org/img/imageslice/2016-11-24/6163/33329.png[/img]
[/container][/center]

hr

A divider. Remember to close the tag!

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur eget odio hendrerit, ultricies felis sit amet, dictum nisl.
[hr][/hr]
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur eget odio hendrerit, ultricies felis sit amet, dictum nisl.

email

A clickable email address.

[email]support@ripple.moe[/email]
[email=support@ripple.moe]contact support[/email]

size

Changes font size. Values can range from 1 to 15. The amount of pts are the size * 6.

[size=12]Large text[/size]