I just wrote BASH-script to retrieve GMail messages which could be helpful to create a vault.
The script extracts a .txt-file, a .html-file and makes a .md file with necessary information (date of the mail, Subject, Sender and ‘link’ to .txt and .html file.)
Example
Date: 25 Jan 2013 11:25:32 +0100 From: Sender [email protected] Subject: Subject line Text: 13c713da99fb3e49.txt HTML: 13c713da99fb3e49.html
When I open the directory in Obsidian, all the .md files are correctly taken in and displayed (few thousands of them). I am able to perform search actions so that’s fine too.
What I’d like to achieve is the following:
When I use the[Text](./13c713da99fb3e49.txt) notation I need to be able to open the file in their respective default programs.
.txt file would open in Sublime Text and .html files would open in Chrome.
Is that something Obsidian is yet able to do?
Some research on linking didn’t bring me to the needed results.
Hence my request for Help in this forum.
Could be I am not looking at the right places of course
If the respective apps have a URL scheme, that might work. The idea would be to write e.g., [some linking text to some email](googlechrome://somesite.com/something.html).
Check out this for Chrome:
and this for Sublime Text:
You can use this technique outside of Obsidian, too.