Bbcode snippets: Difference between revisions

From Bluefish Wiki
Jump to navigation Jump to search
mNo edit summary
(some bbcode added, used in bluefisheditor.com)
Line 2: Line 2:


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


<!--
<!--
               DO NOT COPY THIS FILE FROM THE WIKI MAIN PAGE!
               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)
     BUT FROM THE EDIT TAB (OR THE VIEW SOURCE IF YOU ARE NOT LOGGIN IN)
               ONLY THE PART WITHIN: &lt;pre&gt; &lt;/pre&gt;
               ONLY THE PART WITHIN: <pre> </pre>
-->
-->


Line 14: Line 13:
Copy and import this file in the snippets left panel menu.
Copy and import this file in the snippets left panel menu.
  -->
  -->


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





Revision as of 18:01, 24 March 2010


<?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> 

-->


<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>