I uploaded a Shortcut a few days ago that was an admittedly cumbersome way to grab an article and convert it to Markdown that could be pasted into 1Writer. I’ve done some work and now the Shortcut works much better and the only editing needed is in the page title. This is done within the Shortcut prompt and it defaults to the grabbed article title.
This Shortcut uses both iCloud Drive and Safari, and is accessed in the share sheet on an article. It assumes that Safari can open the article in Reader view, as well. I believe you can do the same with Dropbox by changing the file save location within the shortcut, but I do not know about other browsers.
There should be only three things you need to do before running the shortcut aside from giving it permissions:
- Create a new folder called “Text Articles” in the /Shortcuts/ folder on your iCloud Drive, or create one in your Dropbox and fill in the path on the “Save Text” step in the shortcut - this is pretty much a trash folder since the easiest way to run this without much input or navigation is to automatically create a .txt file in a default location that can be accessed by the shortcut in a later step.
- In the shortcut settings, enable the option to show in share sheet.
- Set up your preferred default folder on 1Writer. If you have multiple folders that different articles might go into, the shortcut would need to have an additional step added. I don’t mind doing this and uploading a different one as well. Just let me know.
Here is the updated shortcut:
https://www.icloud.com/shortcuts/c234a8498e984bc2bfefcd5ab2ecb0b3
The updated Shortcut gets the “Title” and “article” from Reader view in Safari, converts the article into Markdown, adds the Title with a level 1 header, the article content, a page separator, and an #article tag to a text box, creates a .txt file in the /Shortcuts/ folder on iCloud Drive, and renames the file with “Title”.md. It then opens the renamed file in 1Writer, which when opened automatically saves a copy of the .md file to the default folder.