Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Swap the browser markdown renderer for a filter
The readme is now escaped plain text unless about-filter points at the new about-render.lua, which renders markdown, man pages and plain text server-side. The enable-markdown setting goes away with the renderer.
-rw-r--r--README.txt2
-rw-r--r--assets/cgit.css8
-rw-r--r--assets/cgit.js164
-rw-r--r--cgitrc.5.txt19
-rw-r--r--examples/cgitrc19
-rw-r--r--extensions/about-render.lua592
-rw-r--r--source/cgit.c3
-rw-r--r--source/cgit.h1
-rw-r--r--source/ui-summary.c34
-rw-r--r--tests/t0200-security.sh4
10 files changed, 613 insertions, 233 deletions