From 9ae8774540d151e631df319e0b275392430be658 Mon Sep 17 00:00:00 2001 From: neale Date: Wed, 15 Oct 2008 17:58:14 -0400 Subject: --- doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn (limited to 'doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn') diff --git a/doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn b/doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn new file mode 100644 index 000000000..81cc93fb1 --- /dev/null +++ b/doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn @@ -0,0 +1,7 @@ +I can make an image link, such as: + + ![image](image.jpg) + +That will render as ![image](image.jpg). + +If I then inline that page, the (relative) URL no longer points to the right place. The fix for this promises to be hairy. -- cgit v1.2.3 From 063cacce3904dd7cd394915f91b62148dc926b51 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 15 Oct 2008 19:12:59 -0400 Subject: response --- doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn') diff --git a/doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn b/doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn index 81cc93fb1..8cfd42e78 100644 --- a/doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn +++ b/doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn @@ -5,3 +5,9 @@ I can make an image link, such as: That will render as ![image](image.jpg). If I then inline that page, the (relative) URL no longer points to the right place. The fix for this promises to be hairy. + +> Similarly, if you insert a relative link using the markdown link syntax, +> it will tend to break when the page is inlined. +> +> However, there is a simple way to avoid both problems: Use WikiLinks +> and/or the [[img_directive|ikiwiki/directive/img]]. --[[Joey]] -- cgit v1.2.3