Markup language specification#
The BBcode markup language mainly uses tags, which the starting mark looks
like [xxx] and the ending mark looks like [/xxx]. You can add an
attribute to the starting mark to modify the tag’s behaviour.
There is a generic/quick ending mark which looks like [/].
It cannot be used with all tags, so when it is used in the examples below,
suppose you can use it, otherwise, it might not be possible (or not
implemented yet).