X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2FBBCode.md;h=3fe5991308963a8003daa2e05a2ad9dda61c4ccc;hb=d6fe212a49a3fdb66a2ab90b282b5c84e9bf2f07;hp=6eebed486486cbf00c80d5c68baaee5088ee3fc0;hpb=4e49939421d39dfa971d8744691568bcdbdca15e;p=friendica.git diff --git a/doc/BBCode.md b/doc/BBCode.md index 6eebed4864..3fe5991308 100644 --- a/doc/BBCode.md +++ b/doc/BBCode.md @@ -65,13 +65,17 @@ table.bbcodes > * > tr > th {
- function text_highlight($s,$lang)
[embed]URL[/embed] | Embed OEmbed rich content. | -||||||||||||||||||
[iframe]URL[/iframe] | -General embed, iframe size is limited by the theme size for video players. | -||||||||||||||||||
[url]*url*[/url] | If *url* supports oembed or opengraph specifications the embedded object will be shown (eg, documents from scribd). @@ -577,6 +598,9 @@ While taking pictures in the woods I had a really strange encounter... | The [abstract] element is not working with connectors where we post HTML directly, like Tumblr, Wordpress or Pump.io. For the native connections--that is to e.g. Friendica, Hubzilla, Diaspora or GNU Social--the full posting is used and the contacts instance will display the posting as desired. +For postings that are delivered via ActivityPub, the text from the abstract is placed in the summary field. +On Mastodon this field is used for the content warning. + ## Special
Result | |||
---|---|---|---|
If you need to put literal bbcode in a message, [noparse], [nobb] or [pre] are used to escape bbcode: + | If you need to put literal BBCode in a message, [noparse], [nobb] or [pre] blocks prevent BBCode conversion:
|
[b]bold[/b] | |
Additionally, [noparse] and [pre] blocks prevent mention and hashtag conversion to links:
+
|
+ @user@domain.tld #hashtag | +||
Additionally, [pre] blocks preserve spaces:
+
|
+ Spaces | +||
[nosmile] is used to disable smilies on a post by post basis @@ -602,15 +645,15 @@ For the native connections--that is to e.g. Friendica, Hubzilla, Diaspora or GNU | ;-) :-O | ||
Custom inline styles + | Custom block styles [style=text-shadow: 0 0 4px #CC0000;]You can change all the CSS properties of this block.[/style] |
- You can change all the CSS properties of this block. | +You can change all the CSS properties of this block. |
Custom class block + | Custom inline styles -[class=custom]If the class exists, this block will have the custom class style applied.[/class] |
- <span class="custom">If the class exists, |
+[style=text-shadow: 0 0 4px #CC0000;]You can change all the CSS properties of this block.[/style]
+ You can change all the CSS properties of this inline text. |