I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Playground

This page is for playing with WikiNG syntax. You can change anything you want! Also note that content could be changed before (don’t expect it to be adequate).

Blocks

Warnings

This is a warning block which supports rich text, lists etc:
  • Item 1;
  • Item 2.
A warning aligned to the right.

Notices

Warnings and notices use the same code.

So the syntax is identical.

Tips

Tips are also using the same code.

Also all these blocks are using default Redmine styles:
  • div.flash.warning;
  • div.flash.notice;
  • div.flash (tip).

Markers

You can mark tasks with .

If some feature is experimental, you can use:

You can align markers using < and >.

This marker is aligned to the right.

{NEW} and {FREE} markers are different. They look different inline.

And have special “super” mode.

You can mark some features/products as with {FREE} or as with {^FREE}.

Users

User link can be created using ID (which is the last number in the profile URL) e.g. user#1 produces Andriy Lesyuk.

User link can be also created using login e.g. user:s-andy produces Andriy Lesyuk.

You can display different text (not “Firstname Lastname” (depends on settings)) using user(me)#1 (user(me)#1) or user(me):s-andy (user(me):s-andy).

If username does not exist: user(me):idontexist

:) Smileys

Here are smileys currently supported by this plugin:

Sample code Smiley Sample code Smiley Sample code Smiley Sample code Smiley
:) =) :D =D
:'( :( ;) :P
:O :/ :S :]
:X :* O:) >:)
B) @}->- (!) (?)

Smileys code is quite flexible that is :) and :-) are equivalent.

Smileys can be disabled using ! e.g. :) (uses code !:))... ;)

Glyphs

Here are some special characters supported by WikiNG:

Code Character Code Character Code Character Code Character
<= <=> => -- --
<- <-> -> --- ---

Also WikiNG automatically replaces single quote inside words and after words with apostrophe, e.g. O’Reilly.

Hooks

The plugin adds a Wiki macro allowing to call a custom hook (with a custom name) on a page.

For example to create and call hook :wiking_hook_demo write !{{wiking_hook(demo,argument,option=value)}}.

Sample:

controller.class.name = WikiController
project.name          = WikiNG
request.params        = {"controller"=>"wiki", "action"=>"show", "project_id"=>"wiking", "id"=>"Playground"}
page.page.title       = Playground
args                  = ["argument"]
options               = {:option=>"value"}

Conditions

Usually before release I update Wiki pages. So Wiki pages describe new version not yet released and users download old version... To avoid such things I added (date > [date])...(date) and (version > [version])...(version) macros.

Date

This message is shown since 2011.

Version

This message is shown after release of 1.1.0.

External Wiki links

Terms of use | Privacy policy