Add parameter to exclude headings from linking.

Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
Thomas Hochstein 2017-05-27 14:24:01 +02:00
parent 1e3c716f14
commit 76ef5ce5ef
3 changed files with 13 additions and 6 deletions

View file

@ -4,6 +4,7 @@
### Version 1.1-beta (unreleased)
* Add option to exclude headings from link generation.
* Fix markdown errors in changelog.
### Version 1.0 (2017-05-25)

View file

@ -41,6 +41,10 @@ This filter accepts the following parameters:
*dejure.org* will get a link to the *buzer.de* legal information
service, covering all of the German Federal Law.
* `noheadings` (`0` or `1`, Default: `0`)
If set to `true` (`1`) no links will be added to headings
(i.e. `<h1>` to `<h9>` elements).
* `target` (Default: `''`)
Add this to the `target` attribute of the `<a>` elements that are
generated by the API, e.g. `<a href="..." target="_blank">`.