From mboxrd@z Thu Jan 1 00:00:00 1970 From: lukasz at jany.st (Lukasz Janyst) Date: Thu, 08 Dec 2016 16:06:01 +0100 Subject: Render markdown files in tree view Message-ID: <1481209561.3802441.812683353.7B835337@webmail.messagingengine.com> Hey there, First of all, thanks for all the great work on cgit. Awesome stuff! In my setup, I like to have the markdown files in the repos rendered as HTML instead of having them highlighted as code. Turns out it's fairly easy to achieve using filters. I attach the necessary patches. Feel free to commit if you think they are generally useful. Cheers, Lukasz -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-ui-tree-don-t-assume-that-a-source-filter-must-rende.patch Type: text/x-patch Size: 1109 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 0002-ui-tree-pass-full-file-path-to-source-filters.patch Type: text/x-patch Size: 2405 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 0003-filters-add-source-filter-highlighting-code-and-rend.patch Type: text/x-patch Size: 5365 bytes Desc: not available URL: