From d9c118dbf1753abcbf081f532aecfe8cb6ce7de7 Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 26 Jul 2006 21:54:44 +0000 Subject: * Run page through any relevant filters when generating a page preview. * Noticed a bug in the wikitext markup plugin -- it made CamelCase links the default throughout the wiki, not only on wikitext pages. Decided to call this a feature, and split the camelcase support out into a separate plugin that is independant of wikitext. --- doc/plugins/camelcase.mdwn | 7 +++++++ doc/plugins/wikitext.mdwn | 13 +++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 doc/plugins/camelcase.mdwn (limited to 'doc') diff --git a/doc/plugins/camelcase.mdwn b/doc/plugins/camelcase.mdwn new file mode 100644 index 000000000..134460932 --- /dev/null +++ b/doc/plugins/camelcase.mdwn @@ -0,0 +1,7 @@ +This plugin makes words in CamelCase be treated as [[WikiLinks]]. That is +to say, any two or more words capitalised and mashed together are assumed +to be the name of some other page on the wiki, and so become a link. + +This plugin is included in ikiwiki, but is not enabled by default. + +If this plugin is enabled, here is a link: SandBox diff --git a/doc/plugins/wikitext.mdwn b/doc/plugins/wikitext.mdwn index 5c5383fc5..1c2d72bb2 100644 --- a/doc/plugins/wikitext.mdwn +++ b/doc/plugins/wikitext.mdwn @@ -4,12 +4,13 @@ installed, enable the plugin, then files with the extention `.wiki` will be processed as wiki text. Wiki formatting is very simple. An item wrapped in three single quotes is -strong. An item wrapped in two single quotes is emphasized. Any word with -multiple CapitalLetters (e. g., StudlyCaps) will become a link (standard -[[WikiLinks|WikiLink]] work too). Four or more -hyphen characters at the start of a line create a horizontal line. -Newlines turn into the appropriate tags. Headers are matching equals signs -around the header text -- the more signs, the lesser the header. +strong. An item wrapped in two single quotes is emphasized. Four or more +hyphen characters at the start of a line create a horizontal line. Newlines +turn into the appropriate tags. Headers are matching equals signs around +the header text -- the more signs, the lesser the header. + +Links are standard [[WikiLinks|WikiLink]], although you can also enable +[[CamelCase]] links. Lists are indented text, by one tab or four spaces. In unordered lists, where each item has its own bullet point, each item needs a leading -- cgit v1.2.3