mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 07:34:42 -04:00
document linkifyHeaderStyle
in default.js
Signed-off-by: hoijui <hoijui.quaero@gmail.com>
This commit is contained in:
parent
47009805b3
commit
cfa2ec38c5
1 changed files with 13 additions and 0 deletions
|
@ -158,5 +158,18 @@ module.exports = {
|
||||||
allowGravatar: true,
|
allowGravatar: true,
|
||||||
allowPDFExport: true,
|
allowPDFExport: true,
|
||||||
openID: false,
|
openID: false,
|
||||||
|
// linkifyHeaderStyle - How is a header text converted into a link id.
|
||||||
|
// Header Example: "3.1. Good Morning my Friend! - Do you have 5$?"
|
||||||
|
// * 'keep-case' is the legacy CodiMD value.
|
||||||
|
// Generated id: "31-Good-Morning-my-Friend---Do-you-have-5"
|
||||||
|
// * 'lower-case' is the same like legacy (see above), but converted to lower-case.
|
||||||
|
// Generated id: "#31-good-morning-my-friend---do-you-have-5"
|
||||||
|
// * 'gfm' _GitHub-Flavored Markdown_ style as described here:
|
||||||
|
// https://gist.github.com/asabaylus/3071099#gistcomment-1593627
|
||||||
|
// It works like 'lower-case', but making sure the ID is unique.
|
||||||
|
// This is What GitHub, GitLab and (hopefully) most other tools use.
|
||||||
|
// Generated id: "31-good-morning-my-friend---do-you-have-5"
|
||||||
|
// 2nd appearance: "31-good-morning-my-friend---do-you-have-5-1"
|
||||||
|
// 3rd appearance: "31-good-morning-my-friend---do-you-have-5-2"
|
||||||
linkifyHeaderStyle: 'keep-case'
|
linkifyHeaderStyle: 'keep-case'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue