diff options
author | Thomas Lange <code@nerdmind.de> | 2024-02-05 17:50:23 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2024-02-05 17:54:19 +0100 |
commit | b461c0a65d9c8607332a3755b43032e8e0b1d000 (patch) | |
tree | 456adfae610762abe5be68c3fed508b5f9602e48 | |
parent | 9d7f67c96f1946b6a5e8aa1c393ba4e3c9eed00b (diff) | |
download | wiki-b461c0a65d9c8607332a3755b43032e8e0b1d000.tar.gz wiki-b461c0a65d9c8607332a3755b43032e8e0b1d000.tar.xz wiki-b461c0a65d9c8607332a3755b43032e8e0b1d000.zip |
Update documentation
-rw-r--r-- | Content_functions.md | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/Content_functions.md b/Content_functions.md index dacd978..49f2b23 100644 --- a/Content_functions.md +++ b/Content_functions.md @@ -7,14 +7,19 @@ This document explains the available *content functions* that are shipped with t ## Registered default functions The table below contains all default *content functions* you can use. -| Function | Description | Parameters (`?` means optional) | -|------------|-------------------------------------------------|---------------------------------| -| `BASE_URL` | Return pure URL relative to root directory. | `?extend` | -| `FILE_URL` | Return pure URL relative to `rsrc` directory. | `?extend` | -| `CATEGORY` | Return Markdown formatted link to **category**. | `id`, `?text`, `?title` | -| `PAGE` | Return Markdown formatted link to **page**. | `id`, `?text`, `?title` | -| `POST` | Return Markdown formatted link to **post**. | `id`, `?text`, `?title` | -| `USER` | Return Markdown formatted link to **user**. | `id`, `?text`, `?title` | +| Function | Description | Parameters (`?` means optional) | +|----------------|---------------------------------------------------|---------------------------------| +| `BASE_URL` | Return pure URL relative to root directory. | `?extend` | +| `FILE_URL` | Return pure URL relative to `rsrc` directory. | `?extend` | +| `CATEGORY` | Return Markdown formatted link to a **category**. | `id`, `?text`, `?title` | +| `PAGE` | Return Markdown formatted link to a **page**. | `id`, `?text`, `?title` | +| `POST` | Return Markdown formatted link to a **post**. | `id`, `?text`, `?title` | +| `USER` | Return Markdown formatted link to a **user**. | `id`, `?text`, `?title` | +| `CATEGORY_URL` | Return pure URL to a **category**. | `id` | +| `PAGE_URL` | Return pure URL to a **page**. | `id` | +| `POST_URL` | Return pure URL to a **post**. | `id` | +| `USER_URL` | Return pure URL to a **user**. | `id` | + ## Syntax The name of the *content function* and its parameters is put between an opening (`{`) and closing (`}`) curly brace. An optional blank space (` `) is permitted (but not required) between the opening and closing curly braces. |