Propose a URL directive for robust relative URLs

master
W. Trevor King 2013-07-13 11:33:54 -04:00
parent 968a7ca39e
commit f5278f94b9
1 changed files with 7 additions and 0 deletions

View File

@ -12,4 +12,11 @@ If I then inline that page, the (relative) URL no longer points to the right pla
> However, there is a simple way to avoid both problems: Use WikiLinks > However, there is a simple way to avoid both problems: Use WikiLinks
> and/or the [[img_directive|ikiwiki/directive/img]]. --[[Joey]] > and/or the [[img_directive|ikiwiki/directive/img]]. --[[Joey]]
> > 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]]
[[!tag done]] [[!tag done]]