From 96de80f72d3cdfae898d8080e369edfb047dfb03 Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Fri, 18 May 2007 11:55:36 +0200 Subject: adjusted wiki:syntax to additional + syntax darcs-hash:20070518095536-d5083-f131fc5fa77720b709c1c38e2b70c085762897bf.gz --- data/pages/wiki/syntax.txt | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'data/pages') diff --git a/data/pages/wiki/syntax.txt b/data/pages/wiki/syntax.txt index 9c72bb00f..e907f907d 100644 --- a/data/pages/wiki/syntax.txt +++ b/data/pages/wiki/syntax.txt @@ -364,25 +364,43 @@ The refresh period defaults to 4 hours. Any value below 10 minutes will be treat You can embed raw HTML or PHP code into your documents by using the ''html'' or ''php'' tags like this: -This is some HTML +This is some inline HTML + +

And this is some block HTML

+
-This is some HTML +This is some inline HTML + +

And this is some block HTML

+ echo 'A logo generated by PHP:'; echo 'PHP Logo !'; +echo '(generated inline HTML)'; + +echo ''; +echo ''; +echo '
The same, but inside a block level element:PHP Logo !
'; +
echo 'A logo generated by PHP:'; echo 'PHP Logo !'; +echo '(inline HTML)'; + +echo ''; +echo ''; +echo '
The same, but inside a block level element:PHP Logo !
'; +
**Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed. -- cgit v1.2.3