X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=doc%2FBBCode.md;h=fe7c1481f68f93e94ce7071ecec51a01d9585d50;hb=4d33441c2ef5f576537c43d04fc3c4b0bf9a6561;hp=7068f1691133b476c7c64603a0e6cf4d3aa401b7;hpb=5a1bb9866dbb09b00861688f4a78baf0391ea58f;p=friendica.git diff --git a/doc/BBCode.md b/doc/BBCode.md index 7068f16911..fe7c1481f6 100644 --- a/doc/BBCode.md +++ b/doc/BBCode.md @@ -1,146 +1,154 @@ -Friendica BBCode tags reference -======================== - -* [Home](help) - -Inline ------ - - -
[b]bold[/b]: bold - -
[i]italic[/i]: italic - -
[u]underlined[/u]: underlined - -
[s]strike[/s]:
[color=red]red[/color]: red - -
[url=http://www.friendica.com]Friendica[/url]: Friendica - -
[img]http://friendica.com/sites/default/files/friendika-32.png[/img]:
[size=xx-small]small text[/size]: small text - -
[size=xx-large]big text[/size]: big text - -
[size=20]exact size[/size] (size can be any number, in pixel): exact size - - - - - - - -Block ------ - -
[code]code[/code]- -
code
-
-- -
[quote]quote[/quote]- -
quote- -
- -
[quote=Author]Author? Me? No, no, no...[/quote]- -Author wrote:
Author? Me? No, no, no...- -
- -
[center]centered text[/center]- -
- -**Table** -
[table border=1] - [tr] - [th]Tables now[/th] - [/tr] - [tr] - [td]Have headers[/td] - [/tr] -[/table]- -
Tables now |
---|
Have headers |
- -**List** - -
[list] - [*] First list element - [*] Second list element -[/list]-
[ol] - [*] First list element - [*] Second list element -[/ol]-
[list=1]: decimal - -
[list=i]: lover case roman - -
[list=I]: upper case roman - -
[list=a]: lover case alphabetic - -
[list=A]: upper case alphabetic - - - - -Embed ------- - -You can embed video, audio and more in a message. - -
[video]url[/video]-
[audio]url[/audio]- -Where *url* can be an url to youtube, vimeo, soundcloud, or other sites wich supports oembed or opengraph specifications. -*url* can be also full url to an ogg file. HTML5 tag will be used to show it. - -
[url]*url*[/url]- -If *url* supports oembed or opengraph specifications the embedded object will be shown (eg, documents from scribd). -Page title with a link to *url* will be shown. - -Map ---- - -
[map]address[/map]-
[map=lat,long]- -You can embed maps from coordinates or addresses. -This require "openstreetmap" addon version 1.3 or newer. - - -Special -------- - -If you need to put literal bbcode in a message, [noparse], [nobb] or [pre] are used to escape bbcode: - -
[noparse][b]bold[/b][/noparse]: [b]bold[/b] - - +Friendica BBCode tags reference +======================== + +* [Home](help) + +Inline +----- + + +
[b]bold[/b]: bold + +
[i]italic[/i]: italic + +
[u]underlined[/u]: underlined + +
[s]strike[/s]:
[color=red]red[/color]: red + +
[url=http://www.friendica.com]Friendica[/url]: Friendica + +
[img]http://friendica.com/sites/default/files/friendika-32.png[/img]:
[size=xx-small]small text[/size]: small text + +
[size=xx-large]big text[/size]: big text + +
[size=20]exact size[/size] (size can be any number, in pixel): exact size + + + + + + + +Block +----- + +
[code]code[/code]+ +
code
+
++ +
[quote]quote[/quote]+ +
quote+ +
+ +
[quote=Author]Author? Me? No, no, no...[/quote]+ +Author wrote:
Author? Me? No, no, no...+ +
+ +
[center]centered text[/center]+ +
+ +
You should not read any further if you want to be surprised.[spoiler]There is a happy end.[/spoiler]+ +You should not read any further if you want to be surprised.
+ +**Table** +
[table border=1] + [tr] + [th]Tables now[/th] + [/tr] + [tr] + [td]Have headers[/td] + [/tr] +[/table]+ +
Tables now |
---|
Have headers |
+ +**List** + +
[list] + [*] First list element + [*] Second list element +[/list]+
[ol] + [*] First list element + [*] Second list element +[/ol]+
[list=1]: decimal + +
[list=i]: lover case roman + +
[list=I]: upper case roman + +
[list=a]: lover case alphabetic + +
[list=A]: upper case alphabetic + + + + +Embed +------ + +You can embed video, audio and more in a message. + +
[video]url[/video]+
[audio]url[/audio]+ +Where *url* can be an url to youtube, vimeo, soundcloud, or other sites wich supports oembed or opengraph specifications. +*url* can be also full url to an ogg file. HTML5 tag will be used to show it. + +
[url]*url*[/url]+ +If *url* supports oembed or opengraph specifications the embedded object will be shown (eg, documents from scribd). +Page title with a link to *url* will be shown. + +Map +--- + +
[map]address[/map]+
[map=lat,long]+ +You can embed maps from coordinates or addresses. +This require "openstreetmap" addon version 1.3 or newer. + + +Special +------- + +If you need to put literal bbcode in a message, [noparse], [nobb] or [pre] are used to escape bbcode: + +
[noparse][b]bold[/b][/noparse]: [b]bold[/b] + +