DokuWiki Notes

DokuWiki Notes

General Documentation

Plugins

Plugins can be found at http://www.dokuwiki.org/plugins

blockquotes

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

color

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

comment

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

syntaxhighlighter

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.
dokuwiki_notes.txt · Last modified: 04/26/2013 15:02 by Daniel Kirkdorffer
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki