mirror of
https://github.com/flynx/pWiki.git
synced 2026-07-14 04:20:58 +00:00
tweaking docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
7075dce017
commit
79ffe58b46
@ -157,7 +157,7 @@ use.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
### slot (<name> <text> shown|hidden) / content
|
### slot (_name_ _text_ shown|hidden) / content
|
||||||
|
|
||||||
```
|
```
|
||||||
@slot(<name>)
|
@slot(<name>)
|
||||||
@ -229,39 +229,7 @@ Will resolve to `This is: [[ some text ]]`
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### include (_src_ _recursive_ _join_ isolated) / content
|
||||||
---
|
|
||||||
|
|
||||||
### filter (name)
|
|
||||||
|
|
||||||
Enable or disable a page filter.
|
|
||||||
|
|
||||||
A filter is a way to transform the page source.
|
|
||||||
|
|
||||||
Arguments:
|
|
||||||
- `name` -- filter name. If name is preceded with a '-' then it
|
|
||||||
will be forced off. This is useful for disabling _default_ filters, or
|
|
||||||
filters added previously in templates.
|
|
||||||
|
|
||||||
Filters:
|
|
||||||
- wikiword (default)
|
|
||||||
- markdown
|
|
||||||
|
|
||||||
**Example:**
|
|
||||||
|
|
||||||
|
|
||||||
<!--[pWiki[
|
|
||||||
- `[Templates/_edit/_edit]` – _see the macro at the end of the page._
|
|
||||||
]]-->
|
|
||||||
|
|
||||||
<pwiki-comment>
|
|
||||||
- [bootstrap \_edit](/bootstrap/Templates/_edit.html) – _see the
|
|
||||||
macro at the end of the page._
|
|
||||||
</pwiki-comment>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### include (src isolated recursive) / content
|
|
||||||
|
|
||||||
```
|
```
|
||||||
@include(<src>)
|
@include(<src>)
|
||||||
@ -318,6 +286,7 @@ Isolated up, i.e. the included page sees local state but can not affect it:
|
|||||||
Will render to: `original [ ]`
|
Will render to: `original [ ]`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### source (src)
|
### source (src)
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -361,6 +330,38 @@ Arguments:
|
|||||||
]]-->
|
]]-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### filter (name)
|
||||||
|
|
||||||
|
Enable or disable a page filter.
|
||||||
|
|
||||||
|
A filter is a way to transform the page source.
|
||||||
|
|
||||||
|
Arguments:
|
||||||
|
- `name` -- filter name. If name is preceded with a '-' then it
|
||||||
|
will be forced off. This is useful for disabling _default_ filters, or
|
||||||
|
filters added previously in templates.
|
||||||
|
|
||||||
|
Filters:
|
||||||
|
- wikiword (default)
|
||||||
|
- markdown
|
||||||
|
|
||||||
|
**Example:**
|
||||||
|
|
||||||
|
|
||||||
|
<!--[pWiki[
|
||||||
|
- `[Templates/_edit/_edit]` – _see the macro at the end of the page._
|
||||||
|
]]-->
|
||||||
|
|
||||||
|
<pwiki-comment>
|
||||||
|
- [bootstrap \_edit](/bootstrap/Templates/_edit.html) – _see the
|
||||||
|
macro at the end of the page._
|
||||||
|
</pwiki-comment>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### macro (name src sort) / else ()
|
### macro (name src sort) / else ()
|
||||||
|
|
||||||
Apply macro to source page and include the result.
|
Apply macro to source page and include the result.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user