From d39242c494d9e9aca17f4202fbb78ebd6cb6141b Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Wed, 12 Feb 2020 14:04:01 +0100 Subject: Manual corrections --- MANUAL.md | 10 ++++++++++ app/class/Modelrender.php | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/MANUAL.md b/MANUAL.md index 5c3478e..556264c 100644 --- a/MANUAL.md +++ b/MANUAL.md @@ -323,9 +323,13 @@ Where `` can be `MAIN`, `HEADER`, `ASIDE`, `NAV` or `FOOTER`. This will %?id=% +Just specify the [ID](#page-id) of the page [elements](#markdown-elements) you want to include. + ##### concatenate elements +You can even concatenate differents pages [elements](#markdown-elements), using `+` symbol separating [pages IDs](#page-id). All contents of differents pages elements will be concatenated inside one element. + %?id=++*% Where `*` is the page ID of the rendered page. @@ -344,6 +348,12 @@ Where `` is an integer. By default `autolink=0`. Autolink will transform each word containing a minimum of `` letter(s), into internal links. +##### Markdown disable + + %?mardown=(0|1)% + +Activate or desactivate [markdonw](#markdown) parser in called ``. By default, Markdown is set to `1`. + diff --git a/app/class/Modelrender.php b/app/class/Modelrender.php index 3acee3c..c8aa13d 100644 --- a/app/class/Modelrender.php +++ b/app/class/Modelrender.php @@ -416,7 +416,7 @@ class Modelrender extends Modelpage } /** - * Add Id to hrml header elements and store the titles in the `sum` parameter + * Add Id to html header elements and store the titles in the `sum` parameter * * @param string $text Input html document to scan * @param int $maxdeepness Maximum header deepness to look for. Min = 1 Max = 6 Default = 6 -- cgit v1.2.3