Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
docs:bbcode [2022-06-07 11:45] – [Links] Tobiasdocs:bbcode [2022-06-08 13:41] – [Titles] Tobias
Line 142: Line 142:
  
 You can set heading with descending order by using ''[h1]'' to ''[h6]'' tags. ''[h1]'' is the main header, displayed with the largest font size, while ''[h6]'' is the lowest header. You can set heading with descending order by using ''[h1]'' to ''[h6]'' tags. ''[h1]'' is the main header, displayed with the largest font size, while ''[h6]'' is the lowest header.
 +
 +If you set a title for the posting you are composing, it is displayed as level 2 header. To keep the hierarchical order of section titles, you should stick to the ''[h3]'' and lower titles.
 +
 +
  
 ==== Tables ==== ==== Tables ====
Line 297: Line 301:
 But it can be useful to define a custom abstract that will only be displayed on the external network. But it can be useful to define a custom abstract that will only be displayed on the external network.
 This is done with the [abstract]-element. This is done with the [abstract]-element.
-<table class="bbcodes"> + 
-<tr+<code
-  <th>BBCode</th> +[abstract]Totally interesting! A must-see! Please click the link![/abstract] 
-  <th>Result</th> +I want to tell you a really boring story that you really never wanted to hear. 
-</tr> +</code
-<tr> + 
-  <td>[abstract]Totally interesting! A must-see! Please click the link![/abstract]<br> +Twitter would display the text  
-I want to tell you a really boring story that you really never wanted to hear.</td+ 
-  <td>Twitter would display the text <blockquote>Totally interesting! A must-see! Please click the link!</blockquote> +> Totally interesting! A must-see! Please click the link! 
-On Friendica you would only see the text after <blockquote>I want to tell you a really ...</blockquote></td> + 
-</tr> +On Friendica you would only see the text after  
-</table>+ 
 +> I want to tell you a really ...
  
 It is even possible to define abstracts for separate networks: It is even possible to define abstracts for separate networks:
  
-<table class="bbcodes"> +<code>
-<tr> +
-  <th>BBCode</th> +
-  <th>Result</th> +
-</tr> +
-<tr> +
-  <td>+
 [abstract]Hi friends Here are my newest pictures![/abstract]<br> [abstract]Hi friends Here are my newest pictures![/abstract]<br>
 [abstract=twit]Hi my dear Twitter followers. Do you want to see my new [abstract=twit]Hi my dear Twitter followers. Do you want to see my new
Line 324: Line 323:
 [abstract=apdn]Helly my dear followers on ADN. I made sone new pictures [abstract=apdn]Helly my dear followers on ADN. I made sone new pictures
 that I wanted to share with you.[/abstract]<br> that I wanted to share with you.[/abstract]<br>
-Today I was in the woods and took some real cool pictures ...</td+Today I was in the woods and took some real cool pictures ... 
-  <td>For Twitter and App.net the system will use the defined abstracts.<br> +</code
-For other networks (e.g. when you are using the "statusnet" connector that is used to post to your GNU Social account) the general abstract element will be used.</td> + 
-</tr> +For Twitter and App.net the system will use the defined abstracts. 
-</table>+ 
 +For other networks (e.g. when you are using the "statusnet" connector that is used to post to your GNU Social account) the general abstract element will be used.
  
 If you use (for example) the "buffer" connector to post to Facebook or Google+ you can use this element to define an abstract for a longer blogpost that you don't want to post completely to these networks. If you use (for example) the "buffer" connector to post to Facebook or Google+ you can use this element to define an abstract for a longer blogpost that you don't want to post completely to these networks.
Line 336: Line 336:
 Instead you have to name the explicit network: Instead you have to name the explicit network:
  
-<table class="bbcodes"> +<code
-<tr> +[abstract]These days I had a strange encounter...[/abstract]
-  <th>BBCode</th> +
-  <th>Result</th> +
-</tr> +
-<tr> +
-  <td+
-[abstract]These days I had a strange encounter...[/abstract]<br>+
 [abstract=goog]Hello my dear Google+ followers. You have to read my newest blog post![/abstract]<br> [abstract=goog]Hello my dear Google+ followers. You have to read my newest blog post![/abstract]<br>
 [abstract=face]Hello my Facebook friends. These days happened something really cool.[/abstract]<br> [abstract=face]Hello my Facebook friends. These days happened something really cool.[/abstract]<br>
-While taking pictures in the woods I had a really strange encounter...</td+While taking pictures in the woods I had a really strange encounter... 
-  <td>Google and Facebook will show the respective abstracts while the other networks will show the default one.<br> +</code
-<br>Meanwhile, Friendica won'show any of the abstracts.</td> + 
-</tr> +Google and Facebook will show the respective abstracts while the other networks will show the default one. Meanwhile, Friendica wont show any of the abstracts.
-</table>+
  
 The [abstract] element is not working with connectors where we post HTML directly, like Tumblr, Wordpress or Pump.io. The [abstract] element is not working with connectors where we post HTML directly, like Tumblr, Wordpress or Pump.io.
  • Last modified: 2022-06-09 08:51