From: https://www.google.com/accounts/o8/id?id=AItOawn9r0IXGAV72TXTUjFfsnSspjh_BFtmni0 Date: Mon, 2 Apr 2012 12:40:49 +0000 (-0400) Subject: (no commit message) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e7fdb2a5c4d479eccd0f5260a255f8ea7b296f43;p=ikiwiki.git --- diff --git a/doc/forum/Include_attachment_in_a_page.mdwn b/doc/forum/Include_attachment_in_a_page.mdwn new file mode 100644 index 000000000..e4a5a53ec --- /dev/null +++ b/doc/forum/Include_attachment_in_a_page.mdwn @@ -0,0 +1,9 @@ +Is there any way of embedding an attachment in a page - like, when I upload a picture, I would like to have it showing on a page.... I tried the Markdown image syntax like this: + + ![Alt text](/path/to/img.jpg "Optional title") + +But if you upload a PDF, f.ex., there will be a "broken URL/no image" thumbnail, although the link to the uploaded file works correctly, if entered correctly. + +So if it's just an image I want to embed, then I would want to use HTML syntax directly, I guess. (Like stated [[here|http://daringfireball.net/projects/markdown/syntax#img]].) But in case it's some other type of attachment it would be nice to be able to have some specific include syntax or the like. + +Probably a feature for the "attachment" plugin's wishlist!?