summaryrefslogtreecommitdiff
path: root/lib/config/default.js
diff options
context:
space:
mode:
authorhoijui2019-10-21 22:10:06 +0200
committerhoijui2019-10-22 09:05:37 +0200
commite654ca8a3130108a6616131e35524d8f50d80ed0 (patch)
treee3e54724c3c55a5ce79e33482f09201e62b31a73 /lib/config/default.js
parent20adab2f32a785c2dedcd42ee8e0750039fd9dd9 (diff)
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>
Diffstat (limited to 'lib/config/default.js')
-rw-r--r--lib/config/default.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/config/default.js b/lib/config/default.js
index 19bbeb21..f5cceac6 100644
--- a/lib/config/default.js
+++ b/lib/config/default.js
@@ -157,5 +157,6 @@ module.exports = {
allowEmailRegister: true,
allowGravatar: true,
allowPDFExport: true,
- openID: false
+ openID: false,
+ linkifyHeaderStyle: 'keep-case'
}