From: http://jmtd.net/ Date: Mon, 2 Apr 2012 12:51:33 +0000 (-0400) Subject: Added a comment X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cbabe5e727ac8119864a685440e28ac2e5525552;p=ikiwiki.git Added a comment --- diff --git a/doc/forum/Include_attachment_in_a_page/comment_1_275aad6ca3b2972749b7f6636b130035._comment b/doc/forum/Include_attachment_in_a_page/comment_1_275aad6ca3b2972749b7f6636b130035._comment new file mode 100644 index 000000000..a6f995626 --- /dev/null +++ b/doc/forum/Include_attachment_in_a_page/comment_1_275aad6ca3b2972749b7f6636b130035._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="http://jmtd.net/" + nickname="Jon Dowland" + subject="comment 1" + date="2012-04-02T12:51:33Z" + content=""" +Forgive me if I don't fully understand the question, but: + + * the attachment functionality includes a button \"Insert Links\" which, on the edit form for a page, inserts the correct markup to link to the attachment, which addresses the general case + + * For images which you want inline, you could convert the basic wikilink e.g. `\[[foo.png]]` into a call to the [[plugins/img]] plugin e.g. `\[[!img foo.png]]` +"""]]