Both sides previous revision Previous revision | Next revisionBoth sides next revision |
docs:bbcode [2022-06-07 08:27] – [Prevent parsing of posting parts] Tobias | docs:bbcode [2022-06-07 11:45] – [Links] Tobias |
---|
==== Links ==== | ==== Links ==== |
| |
<table class="bbcodes"> | ^ Purpose ^ BBCode ^ |
<tr> | | Set a link to a page on the internet | ''%%[url]http://friendi.ca[/url]%%'' | |
<th>BBCode</th> | | Use some text as label for the link | ''%%[url=http://friendi.ca]Friendica[/url]%%'' | |
<th>Result</th> | | Add a relative link to a posting identified by the GUID | ''%%[url=/posts/f16d77b0630f0134740c0cc47a0ea02a]Diaspora post with GUID[/url]%%'' | |
</tr> | | Set a hashtag((which is a shortcut to the local search for the given term)) | ''%%#Friendica%%'' | |
<tr> | | Mention one of your contacts or a participant in the current discussion | @Mention | |
<td>[url]http://friendi.ca[/url]</td> | | Explicitely mention a Webfinger | ''%%acct:account@friendica.host.com (WebFinger)%%'' | |
<td><a href="http://friendi.ca">http://friendi.ca</a></td> | | Set an email link | ''%%[mail]user@mail.example.com[/mail]%%'' | |
</tr> | | Use some text as label for the email link | ''%%[mail=user@mail.example.com]Send an email to User[/mail]%%'' |
<tr> | |
<td>[url=http://friendi.ca]Friendica[/url]</td> | |
<td><a href="http://friendi.ca">Friendica</a></td> | |
</tr> | |
<tr> | |
<td>[bookmark]http://friendi.ca[/bookmark]<br><br> | |
#^[url]http://friendi.ca[/url]</td> | |
<td><span class="oembed link"><h4>Friendica: <a href="http://friendi.ca" rel="oembed"></a><a href="http://friendi.ca" target="_blank" rel="noopener noreferrer">http://friendi.ca</a></h4></span></td> | |
</tr> | |
<tr> | |
<td>[bookmark=http://friendi.ca]Bookmark[/bookmark]<br><br> | |
#^[url=http://friendi.ca]Bookmark[/url]<br><br> | |
#[url=http://friendi.ca]^[/url][url=http://friendi.ca]Bookmark[/url]</td> | |
<td><span class="oembed link"><h4>Friendica: <a href="http://friendi.ca" rel="oembed"></a><a href="http://friendi.ca" target="_blank" rel="noopener noreferrer">Bookmark</a></h4></span></td> | |
</tr> | |
<tr> | |
<td>[url=/posts/f16d77b0630f0134740c0cc47a0ea02a]Diaspora post with GUID[/url]</td> | |
<td><a href="/display/f16d77b0630f0134740c0cc47a0ea02a" target="_blank" rel="noopener noreferrer">Diaspora post with GUID</a></td> | |
</tr> | |
<tr> | |
<td>#Friendica</td> | |
<td>#<a href="/search?tag=Friendica">Friendica</a></td> | |
</tr> | |
<tr> | |
<td>@Mention</td> | |
<td>@<a href="javascript:void(0)">Mention</a></td> | |
</tr> | |
<tr> | |
<td>acct:account@friendica.host.com (WebFinger)</td> | |
<td><a href="/acctlink?addr=account@friendica.host.com" target="extlink">acct:account@friendica.host.com</a></td> | |
</tr> | |
<tr> | |
<td>[mail]user@mail.example.com[/mail]</td> | |
<td><a href="mailto:user@mail.example.com">user@mail.example.com</a></td> | |
</tr> | |
<tr> | |
<td>[mail=user@mail.example.com]Send an email to User[/mail]</td> | |
<td><a href="mailto:user@mail.example.com">Send an email to User</a></td> | |
</tr> | |
</table> | |
| |
==== Blocks ==== | ==== Blocks ==== |