diff --git a/yhttp/markdown/server.py b/yhttp/markdown/server.py index 1d8a6ab..82cc1d2 100644 --- a/yhttp/markdown/server.py +++ b/yhttp/markdown/server.py @@ -15,14 +15,17 @@ # Builtin configuration -cfg.merge(f''' +cfg.merge(''' # yhttp debug flag -debug: {os.environ.get("YHTTP_DEBUG", "false")} +debug: false + # app specific default: index.md root: . + +# site title title: HTTP Markdown Server toc: depth: 3 @@ -31,15 +34,19 @@ # a list of regex patterns to exclude from TOC and HTTP serve exclude: -# templates + +# mako templates markdown_template: default.mako notfound_template: notfound.mako + # metadata path metadata: physical: .ymdmetadata baseurl: /.ymdmetadata + +# syntaxt highlighting theme highlight: theme: monokai ''')