include image file not working
Hi, I've only been using Marked sporadically, so not an expert by any stretch. I'm trying to create a simple, very textual presentation. So I'm using <!--BREAK--> for page breaks - works fine. And I'd like to include an image in my slides, so I used: <<[/Users/Me/Desktop/imagefile.jpg]. But Marked doesn't imbed the image and instead shows "Error: Format of file “taskplan.jpg” is unrecognized." I've tried png, jpg, pdf and all give the same error. What am I doing something wrong?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 30 Nov, 2012 08:26 PM
The syntax you're using is only for text files. You want to use
standard Markdown for images:
![alt text](path.jpg)
- Brett
2 Posted by ed s on 30 Nov, 2012 08:36 PM
Perfect!
Thanks, b
Brett closed this discussion on 09 Dec, 2012 02:35 PM.