Wacko Formatting Plugin
The Wacko is a simple renderer plugin that provides Wacko style formatting. This allows for easy markup/formatting, even on collections that do not allow HTML.
This is deprecated. We recommend using the MarkDown syntax with the Markdown Plugin instead.
Author | b2evo Team |
---|---|
Last tested in version | deprecated |
Supported Wacko Formatting Syntax
Headlines
The following examples create headlines ("<h2>Text</h2>" through "<h6>Text</h6>"):
== Heading 2 ==
=== Heading 3 ===
==== Heading 4 ====
===== Heading 5 =====
====== Heading 6 ======
Typing the above you will get this:
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
Horizontal rulers
The following creates a horizontal line (<hr />):
---
Translates into:
<hr />
Lists
You can create bullet list just by starting your lines with 2 spaces and a star. Add another 2 spaces before the star to create an indented sublist.
* Level 1
* Level 1
* Level 2
* Level 3
* Level 1 again
Translates into:
<ul>
<li>Level 1</li>
<li>Level 1
<ul>
<li>Level 2
<ul>
<li>Level 3</li>
</ul>
</li>
</ul>
</li>
<li>Level 1 again</li>
</ul>
Code blocks
The following creates a code block. The text gets wrapped in <pre>
and `` html tags. This is useful for PHP code for example, although you may find that the Code Highlight Plugin is better suited for that purpose.
<pre class="line-numbers"><code class="language-markup">[codeblock lang="markup" line="1"] #code goes here[/code block]
Result: (type the above without the space between words "code" and "block" at the closing tag)
<pre class="line-numbers">
<code>#code goes here
</pre></code></pre>
Per Collection Settings
This section contains two options: Apply rendering to posts and Apply rendering to comments, wherein you can choose from the drop down menu when you want the Wacko Formatting plugin rendered in posts and comments.
The drop down-menu for both options contain the following choices:
- stealth
- always
- opt-out
- opt-in (default setting for applying rendering to posts)
- automatic
- never (default setting for applying rendering to comments)
For more information about the rendering options, read about it at the Plugin/Apply Rendering page.