In my cloud drive, the drafts/library folder only contains scripts and templatesfolder, but the previews folder is missing. I want to use the HTML image preview feature, so I manually created a previews/images folder inside library. However, Drafts doesn’t seem to recognize the folder I created manually, and the image previews are still not working.
MacOS 15.2
Have you already started with the related docs
Can you share what your folders look like (screenshot of iCloud Drive/Drafts/Library/Previews), and what your Markdown or HTML looks like?
Hello! I followed the guide, but since I couldn’t find the previews folder, I manually created the Previews/images folder under iCloud Drive/Drafts/Library. My folder structure and the Drafts app interface are as shown in the screenshots. Since the forum doesn’t allow new users to embed images in posts, I can only share the screenshots with you via Dropbox link.
Thank you for your help!
How are your Markdown options configured?
If you are using this folder with local previews, while the preview is visible, a temporary HTML file will be generated in the Previews folder, which you can look at and review the content to see what is coming out. There are Markdown options that will limit the support for img tags…especially if you are using raw HTML, instead of Markdown image markup (like )
Thank you for your explanation.
When the preview is visible, there is no temporary HTML file generated in my Previews folder. I don’t know if it’s because the Previews folder is created by myself, so it can’t be recognised by the Drafts app?
And here are the screenshots of the Markdown and HTML configuration, and what the preview looks like when I use Markdown image markup. It looks the same when I use MultiMarkdown. Dropbox link