X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2FBBCode.md;h=dae630448f77dd6afd3e527ebfdcbb86952b8cd5;hb=00f39cd3081396a196889173e1754ea0b8a9740d;hp=6eebed486486cbf00c80d5c68baaee5088ee3fc0;hpb=e5429b2d174a2410a06079f13de24ece013733b9;p=friendica.git diff --git a/doc/BBCode.md b/doc/BBCode.md index 6eebed4864..dae630448f 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. |