Render markdown files in tree view
Lukasz Janyst
lukasz at jany.st
Thu Dec 8 16:06:01 CET 2016
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: <http://lists.zx2c4.com/pipermail/cgit/attachments/20161208/195f668b/attachment.bin>
-------------- 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: <http://lists.zx2c4.com/pipermail/cgit/attachments/20161208/195f668b/attachment-0001.bin>
-------------- 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: <http://lists.zx2c4.com/pipermail/cgit/attachments/20161208/195f668b/attachment-0002.bin>
More information about the CGit
mailing list