summaryrefslogtreecommitdiff
path: root/public/js/lib/common/constant.ejs (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-08-27Add config option for cookie SameSite policyErik Michelson1-0/+2
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2019-10-30linkifyHeaderStyle needs no string-ification; is already str.hoijui1-1/+1
Co-Authored-By: Yukai Huang <yukaihuangtw@gmail.com> Signed-off-by: hoijui <hoijui.quaero@gmail.com>
2019-10-22Allow to generate lower case header references through the confighoijui1-0/+2
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>
2018-05-16Removing google drive integrationSheogorath1-2/+0
It's sad but it's not working. For multiple releases this should be already broken which shows how often it's used. As there is also a security issue related to that, it's better to remove the feature completely. Whoever wants to rewrite it, feel free to go. This commit removes the Google Drive integration from HackMD's Frontend editor and this way removes the need to provide any API key and Client ID in the frontend. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-01-20Allow more detailed configuration of upload mime typesSheogorath1-1/+3
Fixes #637 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2017-03-20Update to generate front-end constants on server startupWu Cheng-Han1-0/+8
To avoid extra webpacking on changing configs and follow the 12 factor app