writefreely/templates/user
Marcel van der Boom 348d548793 Add code highlighting option
This is a first stab at having a configurable code highlighting option,
similar to the MathJax rendering option. This change makes a checkbox
in the settings for code highlighting using the highlightjs.org
library.
What works: code highlighting in multi-user env is like I would
expect. single and anon(?) needs work

Things to resolve/consider:
- does the .IsCode test for code highlighting need to stay? At least
this and that should use the same version of the highlight.js lib.
- can the common templating part be 'included' somehow?
- the anon vs single-user vs multi-user code is not completely
clear (to me)
- bring js to local instead of cloudfare cdn (perhaps combine with
MathJax)
2018-11-20 11:29:12 +01:00
..
include Fully support single-user mode 2018-11-09 22:10:46 -05:00
admin.tmpl Support editing About and Privacy pages from Admin panel 2018-11-18 21:58:50 -05:00
articles.tmpl Fully support single-user mode 2018-11-09 22:10:46 -05:00
collection.tmpl Add code highlighting option 2018-11-20 11:29:12 +01:00
collections.tmpl Add user management pages 2018-11-08 01:23:08 -05:00
export.tmpl Add user management pages 2018-11-08 01:23:08 -05:00
settings.tmpl Add basic admin dashboard with app stats 2018-11-18 20:18:22 -05:00
stats.tmpl Add user management pages 2018-11-08 01:23:08 -05:00