ikiwiki/doc/bugs/images_in_inlined_pages_hav...

23 lines
830 B
Plaintext
Raw Normal View History

2008-10-15 23:58:14 +02:00
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.
2008-10-16 01:12:59 +02:00
> 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]]
2008-10-16 05:50:20 +02:00
> > For some inline HTML (e.g. SVG embedded with `<object>` tags, it
> > would be nice to have a URL directive for URL-only WikiLinks.
> > Something like:
> > `<object type="image/svg+xml" data="[[!url image.svg]]"></object>`.
> > This would be a more general solution than an [[SVG-specific
> > fix|todo/svg]]. --[[wtk]]
2008-10-16 05:50:20 +02:00
[[!tag done]]