I’d like to tell Obsidian to tread files with a .markdown extension as if they were .md
(I’m on a Mac, btw).
Longer story: I’ve been trying to perfect my PDF workflow. I’m using an app called Highlights, which automatically saves all of my highlights (including highlighted images) in a .textbundle format ; within the .textbundle (essentially a folder) there’s a .markdown file with the highlights themselves in markdown version. However, Obsidian doesn’t open it because of the .markdown extension. If I change the extension to .md (no other edits), the file works perfectly within Obsidian.
I’ve looked at “textbundle support”, which is listed both as a feature request and as a plugin idea. Obsidian is already displaying textbundle as folders, and I’m not looking for any more “textbundle support” than that. It’s only the .markdown file extension that is breaking my workflow.
I’ve also looked at scripts to automatically rename .markdown into .md ; however, Highlights keeps updating the .markdown file with new highlights, so I wouldn’t want to keep changing its extension (Highlights will just create another one), but rather having Obsidian treating the .markdown file as .md
Thanks @rigmarole ! That’s awesome that you went and looked at their changelog!
I’ve actually asked the Highlights developers too if they could change the file extension on the MacOS app.
The iOS app doesn’t save sidecar files in real time, you actually need to “export”. The MacOS app instead creates the markdown in real time, while you’re highlighting the PDF.
There’s an Obsidian plugin called txt as md that could be forked and made to work with .markdown … but I don’t even know where to start
Thanks @Dor ! Those requests are different: they’re asking for Obsidian to edit those file types as if they were markdown.
Instead what I’m asking if to be able to edit actual markdown files within Obsidian, even if their extension is not .md but .markdown
Install the txt as md plugin and activate it.
Then open the .obsidian folder, then open the plugins folder within, and then the txtasmd folder.
Open the main.js file in any text editor.
Add markdown to the list of extensions. I attach image on one I’ve just done. It’s line 84.
Then save, then reopen Obsidian.
But remember this does not mean .markdown files are treated as .md, it simply means that you can read and edit them.