Plugins can be found at http://www.dokuwiki.org/plugins
Plugin Documentation: http://foosel.org/snippets/dokuwiki/blockquote
Example usage:
<blockquote>This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text.</blockquote>
which produces:
This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text. This is a sample of blockquoted text.
Example usage:
<blockquote J. Random Hacker>Test with a cite attribute...</blockquote>
which produces:
Test with a cite attribute…
Example usage:
<blockquote>Test with a cite command...<cite>J. Random Hacker, [[http://localhost/~jrhacker]]</cite></blockquote>
which produces:
Test with a cite command…
J. Random Hacker, http://localhost/~jrhacker
Plugin Documentation: http://www.dokuwiki.org/plugin:color
Example usage:
<color green>Green text</color> <color #C67636>#C67636 text</color>
which produces:
Green text
#C67636 text
Plugin Documentation: http://wiki.splitbrain.org/plugin:comment
Example usage:
<color red>Visible Text /* can't see this */ surrounding hidden text</color>
which produces:
Visible Text surrounding hidden text
Plugin Documentation: http://www.dokuwiki.org/plugin:syntaxhighlighter
Example usage:
<code java::showcontrols>
public void sampleMethod(String inputString) {
String setMe = "The String Setting";
int index = 0;
while (index < 10) {
System.out.println(setMe);
index++;
}
System.out.println("The original string inputted was: " + inputString);
}
</code>
which produces:
public void sampleMethod(String inputString) {
String setMe = "The String Setting";
int index = 0;
while (index < 10) {
System.out.println(setMe);
index++;
}
System.out.println("The original string inputted was: " + inputString);
}
Language Aliases - The following languages are supported:
| Language | Aliases |
|---|---|
| C++ | cpp, c, c++ |
| C# | c#, c-sharp, csharp |
| CSS | css |
| Delphi | delphi, pascal |
| Java | java |
| Java Script | js, jscript, javascript |
| PHP | php |
| Python | py, python |
| Ruby | rb, ruby, rails, ror |
| Sql | sql |
| VB | vb, vb.net |
| XML/HTML | xml, html, xhtml, xslt |
Configuration Options - The options are passed together with the language alias and are separated by a colon character.
For example: <code java:showcontrols:firstline[5]> … </code>
| Options | |
|---|---|
| lang | Language Alias (see above). |
| nogutter | Will display no gutter. |
| showcontrols | Will display controls at the top. |
| collapse | Will collapse the block by default. |
| firstline[value] | Will begin line count at value. Default value is 1. |
| showcolumns | Will show row columns in the first line. |