summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Content_functions.md21
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.