summaryrefslogtreecommitdiff
path: root/views/tree.html
diff options
context:
space:
mode:
authorAlberto Bertogli <albertito@blitiri.com.ar>2018-03-04 21:53:35 +0100
committerAlberto Bertogli <albertito@blitiri.com.ar>2018-03-04 21:53:35 +0100
commit722d765973ab368a313455d2179d7b3d67ec25cb (patch)
treebbde1e82d6bcd9c873f04fc7dde0e32a71df4c91 /views/tree.html
parent5e75a1e7a10a0485f5aa339abf055bad94a0a353 (diff)
downloadgit-arr-fork-722d765973ab368a313455d2179d7b3d67ec25cb.zip
markdown: Handle local links
By default, the markdown generator creates links for local files transparently. For example, "[text](link.md)" will generate "<a href=link.md>text</a>". This works fine for absolute and external links, but breaks for links relative to the repository itself, as git-arr links are of the form "dir/f=file.ext.html". So this patch adds a markdown extension to rewrite the links. It uses a heuristic to detect them, which should work for the vast majority of common cases.
Diffstat (limited to 'views/tree.html')
0 files changed, 0 insertions, 0 deletions