Commit Graph

10 Commits

Author SHA1 Message Date
07031fe667 enable footnotes extra for markdown 2021-02-11 18:36:48 -06:00
4f45943775 initialize markdown on a per-page basis
the footnote extra expects to only parse one document over the Markup's
lifetime, and writes the footnotes to the bottom of every page that is
rendered (again assuming only one) with links back to the reference

having one parser for the entire app, naturally, introduced
ever-increasing footnote links and every footnote on the site showing up
on every page. this was not intended

in some light testing, doing this per-request has a nominal effect on
performance
2021-02-11 18:17:26 -06:00
87ad48d8d2 add mdx-linkify to markdown extensions 2021-01-22 09:51:53 -06:00
d2c1c2e3ce why did I make user styles a config setting???
this moves it into the code, where it's sensible, and leaves the default
to the config
2020-12-08 16:43:20 -06:00
7cf11986c5 user-selectable light and dark themes
cookies, template rendering with different CSS files via default or
request param or cookie, etc.
2020-10-30 00:19:19 -05:00
5ca483a904 configurable markdown extensions
meta is always loaded, because the code expects it
2020-10-29 23:51:58 -05:00
2634c144a7 support a media/ dir under the instance dir
this is for miscellaneous files that should be served directly rather
than being a page route
2020-03-08 11:48:49 -05:00
337001a939 allow overriding the "incorporeal.org" in <title>
I'm not going to be able to use this software on incorporeal.org for a
bit, so plan B
2020-03-07 19:43:24 -06:00
7d23b15043 log all incoming requests 2020-03-06 19:53:29 -06:00
a28f27206b basic create_app() and configuration scaffolding 2020-03-06 17:51:20 -06:00