26 lines
2.9 KiB
JSON
26 lines
2.9 KiB
JSON
|
{
|
||
|
"port": 8080,
|
||
|
"hostname": "0.0.0.0",
|
||
|
"defaultFile": "",
|
||
|
"startOnLoad": true,
|
||
|
"useRibbonButons": true,
|
||
|
"indexHtml": "<html>\n<head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\"\n content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover\">\n <title>#VAR{HTML_TITLE}</title>\n <link rel=\"shortcut icon\" href=\"#VAR{FAVICON_URL}\">\n <link href=\"#VAR{CSS_FILE_URL}\" type=\"text/css\" rel=\"stylesheet\">\n <base href=\"/\">\n</head>\n<body\n class=\"#VAR{THEME_MODE} mod-windows is-frameless is-maximized is-hidden-frameless obsidian-app show-inline-title show-view-header\"\n style=\"--zoom-factor:1; --font-text-size:16px;\">\n <div class=\"app-container\">\n <div class=\"horizontal-main-container\">\n <div class=\"workspace\">\n <div class=\"workspace-split mod-vertical mod-root\">\n <div class=\"workspace-tabs mod-top mod-top-left-space mod-top-right-space\">\n <div class=\"workspace-tab-container\">\n <div class=\"workspace-leaf\">\n <div class=\"workspace-leaf-content\" data-type=\"markdown\" data-mode=\"preview\">\n <div class=\"view-content\">\n <div class=\"markdown-reading-view\" style=\"width: 100%; height: 100%;\">\n <div\n class=\"markdown-preview-view markdown-rendered node-insert-event is-readable-line-width allow-fold-headings show-indentation-guide allow-fold-lists\"\n tabindex=\"-1\" style=\"tab-size: 4;\">\n <div class=\"markdown-preview-sizer markdown-preview-section\" style=\"padding-bottom: 369px; min-height: 1158px;\">\n <div class=\"markdown-preview-pusher\" style=\"width: 1px; height: 0.1px; margin-bottom: 0px;\"></div>\n <div class=\"mod-header\">\n <div class=\"inline-title\" contenteditable=\"true\" spellcheck=\"false\" tabindex=\"-1\" enterkeyhint=\"done\">#VAR{RENDERED_CONTENT_FILE_NAME}\n </div>\n #VAR{RENDERED_CONTENT}\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</body>\n</html>",
|
||
|
"htmlReplaceableVariables": [
|
||
|
{
|
||
|
"varName": "HTML_TITLE",
|
||
|
"varValue": "Obsidian Html Server"
|
||
|
},
|
||
|
{
|
||
|
"varName": "FAVICON_URL",
|
||
|
"varValue": "//obsidian.md/favicon.ico"
|
||
|
},
|
||
|
{
|
||
|
"varName": "CSS_FILE_URL",
|
||
|
"varValue": "/.obsidian/plugins/obsidian-http-server/app.css"
|
||
|
}
|
||
|
],
|
||
|
"showAdvancedOptions": false,
|
||
|
"useSimpleAuth": false,
|
||
|
"simpleAuthUsername": "obsidian",
|
||
|
"simpleAuthPassword": "0b2cd1ba70b8b332"
|
||
|
}
|