From b461c0a65d9c8607332a3755b43032e8e0b1d000 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Mon, 5 Feb 2024 17:50:23 +0100 Subject: Update documentation --- Content_functions.md | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'Content_functions.md') 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. -- cgit v1.2.3