mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 09:15:50 +01:00
added option to bring back plain (non-markdown) headings, closes #1678
This commit is contained in:
@@ -40,7 +40,8 @@ const ALLOWED_OPTIONS = new Set([
|
||||
'nativeTitleBarVisible',
|
||||
'attributeListExpanded',
|
||||
'promotedAttributesExpanded',
|
||||
'similarNotesExpanded'
|
||||
'similarNotesExpanded',
|
||||
'headingStyle'
|
||||
]);
|
||||
|
||||
function getOptions() {
|
||||
|
||||
@@ -19,6 +19,7 @@ function index(req, res) {
|
||||
res.render(view, {
|
||||
csrfToken: csrfToken,
|
||||
theme: options.theme,
|
||||
headingStyle: options.headingStyle,
|
||||
mainFontSize: parseInt(options.mainFontSize),
|
||||
treeFontSize: parseInt(options.treeFontSize),
|
||||
detailFontSize: parseInt(options.detailFontSize),
|
||||
|
||||
Reference in New Issue
Block a user