Markdown Image Support?


It seems possible to create links in the text to images via URLs, but instead of inserting an image, a mere text link is used. Is there any possibility of inserting the image itself into the editor?


It’s a text editor, but if you want to edit with live display and update of the linked images, it works very well to have a window of Brett Terpstra’s Marked running next to it.


Yep, that is the best workflow. FoldingText on one side with Marked on the other. My Alfred workflow for FoldingText will open the topmost FoldingText in Marked. Much easier:


I’m sure that’s a fine workflow for some people. Personally, it’s preferable to use only Foldingtext by itself, since my intent is to use it to replace Evernote by syncing the markdown files to ownCloud, and apart from this one very small rendering issue, Foldingtext is perfect for my needs.

I don’t ever want to view the writing anywhere other than Foldingtext, and so rendering to HTML or using another application to preview the rendered markdown is more of a hindrance than a benefit.

I realize that Foldingtext is a “text” editor, but would it be possible to write a plugin to override the default display (text as a link to the image) with the actual image? I could undertake this task if it’s a plausible solution.


Technically, yes it is doable. FoldingText is really a fancy web browser with specialized code to make it work the way it does. If you are good at JavaScript, you can create an extension for anything. I am working on one for producing graphs of equations to complement my imath extension. I wrote a very basic tutorial for how to write extensions and such. My editor is still reviewing it and has not scheduled it yet. It will appear on You can also see my extension here. This can give you a starting place.


In terms of syncing, however, you will, of course, still be syncing a text file containing plain links + some external image files.

(Rather than a single file with images that are in any sense ‘embedded’ in it).


Yes, this is the sort if thing I’m thinking of. I’m not looking for all of the functionality of a complicated word processor, just the ability to insert and view a reference to the occasional image or screenshot.

The imath plugin is nice. When I found Foldingtext I was looking for a more markdown-complete Calca that saved to files so I could sync to owncloud. imath fit my needs nicely. I’m looking forward to seeing graphs, which Calca doesn’t do.


I would be thrilled if FoldingText would display images inline the way it does links, between that and the recent Calc mode the only reason I’d use any other Markdown tool on OS X would be for MMD tables.


Hey there!
I just created a plugin to do this today…I did it pretty quickly, so let me know if you run into issues. This adds support for @img tag that for lines with a markdown syntax image, will render the image on the following line.


Nice addon, but only works for web addressed images. It will not show images on my hard-drive in the same directory as the document.

For example, this produces a broken picture image:

FunEditor on Mac

It is tag I am using in a tutorial for using NW.js.


Yes, I know, I worte a note on that in the README. For now, they have to be hosted. I’ll try to add support for relative paths though!


For now, I just drag and drop the desired image into this web app, or similar, and copy the direct path.


Okay, I just did not see the note. Thanks.


I would also like inline image support.

I have Marked, I find it pointless to run it next to Folding Text merely for displaying an image.

Folding Text feels incomplete.


+1 for image support. I appreciate that text-only might be a philosophical thing, but I’d like the image features of Markdown to be supported in my documents. I primarily use Markdown (and Folding Text) for documentation, where images can be more than decorative. I’d rather not go back and forth between Folding Text – which I like very much – and Marked 2.