Support for Markdown opening via Files in iOS 11
I have a Nextcloud server that I've connected to the Files app on my iPhone 7. I was able to navigate to a .pages files click on it (from Files) and it launched Pages and all changes were saved in place back to my Nextcloud server instead of making a local copy or a copy to iCloud for edits, which is great.
The question I have is, if Editorial is on my phone and I click on a .md (Markdown) file from the Files app, will Editorial open it? Currently when I click on a .md file it just opens up a view to a blank preview since it doesn't know how to render it. Thanks.
It is possible, @omz just has to set “.md” as a compatible file extension in the Editorial’s info.plist file
Even better would be a QuickLook extension, which lets you preview the file directly in the Files app
What the OP describes works now from iOS Files with .md files to Byword. The first time I had to explicitly share an .md file to Byword (from an iCloud directory accessed via the Files app Share/"Open in Byword"). Now anytime I tap on a .md file in Files (again, a file stored on iCloud in my case) it opens in Byword by default, I can edit it and the file remains in iCloud/Files (as far as the user experience is concerned). Edits are saved. I can open the same file up moments later in the iCloud synced folder on my Mac and the changes are there.
I'm not advocating Byword (though it is quite nice as far as it goes), I'm pointing out from their example that this is possible. I'd like to second the vote for Editorial to be able to do this. I'd like an "Open in Editorial" option in the sharing preferences (not "Copy to") in Files and then for .md files to open in Editorial by default (with edits automatically saved back to the same file in Files/iCloud). I'm not sure if what Byword has done is easy or available to other text editing apps, but I'm hoping it is because I really want to do this with Editorial.