I would like to do this, but I’m not sure if it is possible or, if so, exactly how to go about it.
I want to create a single folder to keep all images and other assets for embedding in iA Writer. Then, I want to open up a document in Typora containing the image or asset originally embedded in iA Writer and have the image show up in both iA Writer and Typora when I go to preview and export. In other words, I want to insert the image or asset in iA Writer and have it show in Typora if I wish to use Typora to preview and export the document.
I ask because I get the impression that iA Writer uses a non-standard syntax for embedding images, but I may be wrong.
Is this possible? If so, what is the best approach to this?
Marked2 looks promising. According to one of the videos I watched, Marked will render iA Writer code blocks. I’m going to test Marked 2 for a while. If this works, I’ll have a very nice workflow setup for all plain text writing because I’ve integrated iA Writer <—>1Writer<—> Marked2 (potentially)<—>DEVONthink, enabling me to work with and manage plain text files in a variety of ways.
@nationalinterest for some reason I cannot get the image from iA Writer to show up in Marked 2. The Marked 2 site says:
iA Writer¶ Just drag the file you’re working on (in Finder or from the title bar proxy icon) to Marked and you’re good to go with the latest versions of iA Writer. Marked even supports most of the /block include syntax from iA!
But as you can see, the image does not show up in Marked–right image:
I just circumvent this “on the computer” issue as I upload all my used writing images to a special folder on my server/web space. Then I supply the full URL to the image. Works perfectly in iA Writer, Typora, Marked, etc. However, it obviously requires have a “web space” to upload to. But if you do … then the uploading bit is super easy.
I dragged one of my Daily Notes to the icon for the Marked 2 app in my Mac’s dock, and an image embedded in the Markdown-formatted note was displayed properly along with all of my text.
For my purposes, Marked 2’s biggest disadvantage is that unlike Pandoc and iA Writer, it doesn’t convert markdown heading levels into Word’s equivalents. It just formats the attributes individually so they look like headings.
I have the images in a sub-folder of iA Writer. Here are two screenshots of my attempt to use standard markdown to embed the images but as you can see, the image only shows up from the iA Writer code block.
Sure, for me there’s a clear advantage: it works all the time!
If you have another approach that works that’s great. However, I thought you were having problems. If you have another way that works simply and 100% of the time then, of course, use that alternative.
To be fair, most of my writing these days is for course websites and other online things … so I have to upload materials to my hosting area anyways. It’s not a new or extra step for me.
I am still having problems. I’ve emailed iA Writer support.
I may try your suggestion, it seems to me it will eliminate the issues. If I take this approach, I’d probably use Google for the images. Do you use Google or other online storage? I tried a link in Photos which creates an iCloud link but it does not render in iA Writer.
I’m using a straightforward and “real” web domain that I use for my websites. This is something I have via a hosting company. So my domain is called something like:
https://mymitchell.com
Within that domain, using Transmit (or any FTP app), I created a subfolder named:
writing-images
So if I upload an image named: the-hague-in-fall.jpg then the full address for that image is:
… and then you can refer to the iimage using markdown or just html. I know you already have the markdown shortcut (which is fine), and the HTML approach would e written:
<img src="https://mymitchell.com/writing-images/the-hague-in-fall.jpg" alt="image of The Hague" width="100%" />
Note: you have a bit more control over width of image in HTML relative to markdown, but that may not be important for you.
… so whether this approach works with Google images??? I’m not sure, but it “should” . The problem with iCloud links is those aren’t on the web and can’t be seen by others easily. BTW my guess is there IS a solution using images on your hard drive … but whatever that solution … it’s non-obvious and perhaps not possible. I’m just not sure. It’s certainly not as clean and obvious as linking to images with a specific web address .