Allow to generate lower case header references through the config

This makes the references consistent/compatible with GitHub,
GitLab, Pandoc and many other tools.

This behavior can be enabled in config.json with:

```
"linkifyHeaderStyle": "gfm"
```

Signed-off-by: hoijui <hoijui.quaero@gmail.com>
This commit is contained in:
hoijui 2019-10-21 22:10:06 +02:00
parent 20adab2f32
commit e654ca8a31
5 changed files with 13 additions and 4 deletions

View file

@ -157,5 +157,6 @@ module.exports = {
allowEmailRegister: true,
allowGravatar: true,
allowPDFExport: true,
openID: false
openID: false,
linkifyHeaderStyle: 'keep-case'
}