From 1b03a06c8c0dbf59469ff30d09a0c9c3051e0b00 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Sun, 27 Jan 2008 16:13:54 -0800 Subject: Add new preprocessor directive syntax¸ using a '!' prefix. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a prefix_directives option to the setup file to turn this syntax on; currently defaults to false, for backward compatibility. Support optional '!' prefix even with prefix_directives off, and use that in the underlay to support either setting of prefix_directives. Add NEWS entry with migration information. --- doc/ikiwiki-prefix-directives.mdwn | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 doc/ikiwiki-prefix-directives.mdwn (limited to 'doc/ikiwiki-prefix-directives.mdwn') diff --git a/doc/ikiwiki-prefix-directives.mdwn b/doc/ikiwiki-prefix-directives.mdwn new file mode 100644 index 000000000..df4b88b1c --- /dev/null +++ b/doc/ikiwiki-prefix-directives.mdwn @@ -0,0 +1,26 @@ +# NAME + +ikiwiki-prefix-directives - convert ikiwiki pages to prefixed directive syntax + +# SYNOPSIS + +ikiwiki-prefix-directives page.mdwn... + +# DESCRIPTION + +`ikiwiki-prefix-directives` converts an ikiwiki page from the old +preprocessor directive syntax, requiring a space, to the new syntax, +prefixed by '!'. + +Preprocessor directives which already use the new syntax will remain +unchanged. + +Note that if the page contains wiki links with spaces, which some +older versions of ikiwiki accepted, ikiwiki-prefix-directives will +treat these as preprocessor directives and convert them. + +# AUTHOR + +Josh Triplett + +Warning: this page is automatically made into ikiwiki-prefix-directives's man page, edit with care -- cgit v1.2.3