]> granicus.if.org Git - cgit/commit
Parse render filters from the config
authorJohn Keeping <john@keeping.me.uk>
Mon, 18 Jun 2018 06:22:12 +0000 (14:22 +0800)
committerAndy Green <andy@warmcat.com>
Thu, 28 Jun 2018 23:53:20 +0000 (07:53 +0800)
commit653da15e304a5f2dc1a82bdca61602f225a26e63
tree47ace9831b0045210beb2f684e6a3e2800b62838
parent46c716331c701959efdd1a47f644f8650a677ce7
Parse render filters from the config

Render filters will be used to present rendered content in the tree
view, for example to display Markdown source rendered as HTML.

We will add support for using these from the tree view in the following
commits.

AG: adapted so render.= can be used to specify the filter for files
without any suffix

Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Andy Green <andy@warmcat.com>
Reviewed-by: John Keeping <john@keeping.me.uk>
cgit.c
cgit.h
cgitrc.5.txt
filter.c
shared.c