Bbcode snippets

From Bluefish Wiki
Jump to: navigation, search

<?xml version="1.0"?>
<!-- bbcode.xml $Revision: 24/3/2010   -->

<!--
              DO NOT COPY THIS FILE FROM THE WIKI MAIN PAGE!
     BUT FROM THE EDIT TAB (OR THE VIEW SOURCE IF YOU ARE NOT LOGGIN IN)
               ONLY THE PART WITHIN: <pre> </pre>
-->

<!-- USAGE:
	Copy and import this file in the snippets left panel menu.
 -->


<snippets>
<branch title="bbcode">
<leaf type="insert" title="bold" tooltip="[b]bolded text[/b]">
<before>[b]</before>
<after>[/b]</after>
</leaf>
<leaf type="insert" title="italic" tooltip="[i]italicized text[/i]">
<before>[i]</before>
<after>[/i]</after>
</leaf>
<leaf type="insert" title="underline" tooltip="[u]underlined text[/u]">
<before>[u]</before>
<after>[/u]</after>
</leaf>
<leaf type="insert" title="strike" tooltip="[s]strikethrough text[/s]">
<before>[s]</before>
<after>[/s]</after>
</leaf>
<leaf type="insert" title="url" tooltip="[url]http://example.org[/url]">
<before>[url]</before>
<after>[/url]</after>
</leaf>
<leaf type="insert" title="url=" tooltip="[url=http://example.com]Example[/url]">
<before>[url=%0]</before>
<after>[/url]</after>
<param name="url"/>
</leaf>
<leaf type="insert" title="image" tooltip="[img]http://example.org/example.png[/img]">
<before>[img]</before>
<after>[/img]</after>
</leaf>
<leaf type="insert" title="quote" tooltip="[quote]quoted text[/quote]">
<before>[quote]</before>
<after>[/quote]</after>
</leaf>
<leaf type="insert" title="quote=" tooltip="[quote=example]quoted text[/quote]">
<before>[quote=%0]</before>
<after>[/quote]</after>
<param name="personne"/>
</leaf>
<leaf type="insert" title="code" tooltip="[code]monospaced text[/code]">
<before>[code]</before>
<after>[/code]</after>
</leaf>
<leaf type="insert" title="size=" tooltip="[size=15]Large Text[/size]">
<before>[size=%0]</before>
<after>[/size]</after>
<param name="size"/>
</leaf>
<leaf type="insert" title="color=" tooltip="[color=red]Red Text[/color]">
<before>[color=%0]</before>
<after>[/color]</after>
<param name="color"/>
</leaf>
<leaf type="insert" title="ul" tooltip="Unordered list
[ul] [/ul]">
<before>[ul]
</before>
<after>
[/ul]</after>
</leaf>
<leaf type="insert" title="ol" tooltip="Ordered list
[ol] [/ol]">
<before>[ol]
</before>
<after>
[/ol]</after>
</leaf>
<leaf type="insert" title="li" tooltip="List item
[li] [/li]">
<before>[li]</before>
<after>[/li]</after>
</leaf>
<leaf type="insert" title="sub" tooltip="[sub]Subscript Text[/sub]">
<before>[sub]</before>
<after>[/sub]</after>
</leaf>
<leaf type="insert" title="sup" tooltip="[sup]Superscript Text[/sup]">
<before>[sup]</before>
<after>[/sup]</after>
</leaf>
<leaf type="insert" title="Hide" tooltip="[hide]any hidden text[/hide]
 - hide part of message from Guests">
<before>[hide]</before>
<after>[/hide]</after>
</leaf>
</branch>
</snippets>