[PATCH 1/1] filters: in markdown get images from their plain url

Christian Hesse mail at eworm.de
Thu Apr 17 13:02:41 CEST 2014


"Jason A. Donenfeld" <Jason at zx2c4.com> on Thu, 2014/04/17 12:57:
> Clever solution.
> 
> But this breaks if we're ever including an image by an absolute URL.

You are right...

> Maybe we should simply document that git-relative images should be
> linked via "../plain/" and leave it to the markdown author?

This works for cgit but breaks every other markdown use case.

> Or come up with some other clever hack?

Will think about it. ;)
-- 
Schoene Gruesse
Chris
                         O< ascii ribbon campaign
                   stop html mail - www.asciiribbon.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140417/e2d24feb/attachment.asc>


More information about the CGit mailing list