diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-04-03 05:01:37 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-04-03 05:01:37 +0200 |
commit | c238728613accecddcd9612c442f6a2b0280bb8d (patch) | |
tree | dcf824bbbe4908726120ec106b9b2cf6640d46ba /MANUAL.md | |
parent | ec2f88ed95285baf49ad02159207d758b5eaafbf (diff) | |
download | wcms-c238728613accecddcd9612c442f6a2b0280bb8d.tar.gz wcms-c238728613accecddcd9612c442f6a2b0280bb8d.zip |
render : elements header-id param close #63
Diffstat (limited to 'MANUAL.md')
-rw-r--r-- | MANUAL.md | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -262,13 +262,13 @@ This will include a connection form, redirecting to a specified page. Where `<pa This will include a summary based on the page headers titles. - %SUMMARY?min=<min>&max=<max>% + %SUMMARY?min=<min>&max=<max>&element=<element>% Where `<min>` and `<max>` are integers beetwen `1` to `6`. -You can set `<min>` and `<max>` values to filters beetwen `<h*>` and `<h*>` header to take care of. - +You can set `<min>` and `<max>` values to filters beetwen `<h*>` and `<h*>` headlines to take care of. +You can specify an [element](#markdown-elements) to target with the `element` parameter. The summary will only refer to this `element` headlines. #### Page list @@ -356,6 +356,15 @@ Activate or desactivate [markdonw](#markdown) parser in called `<element>`. By d +##### Header ID + + %<element>?headerid=<x>-<y>% + +By default, HTML `#id` are generated for every `<h1>` to `<h6>` headings. You can specify a range of headers outside which no ID will be added. + +You can also set `headerid=0` to totaly disable ID generation for this element. + + ### Templating |