This is exactly what I need.

There has been extensive discussion already, and feature requests. Best to add support to those rather than start another thread.

2 Likes

:pray: Yes, please. The first solution would be perfect. In general, using relative paths to me is much more preferable. That ensures portability to different systems and that the links will still work when the ā€œfolders structureā€ moves together to a different location.
Relative paths not working is becoming a pain to me, unfortunately so as to make me think about Obsidian suitability for long term use (before I keep adding absolute paths and making the problem unmanageable later… :frowning:

3 Likes

For me the benefit is: my vault is THE repository. If I’m working on a project and for some reason I have an Adobe Illustrator file (something.ai) which makes sense to reference in the note, I want it to be stored next to that note and not in a secondary repository that my note references.

If the attachments are kept in a different repository then it will be harder to keep them in sync and properly versioned.

2 Likes

(Sorry, coming late to the party. Wrote this post in another thread before reading this one, and then it was moved here. So please forgive the repeated arguments.)

When you copy a PDF file to the vault, you can create a link to that file and display it inside Obsidian, using the [[filename.pdf]] or [pdf](filename.pdf) syntax. You can also embed and link to image file formats. This is very useful. Unfortunately, this currently only works with PDF and image files.

I suggest that Obsidian allows to do the same with other file formats, most importantly HTML. Currently, if you use the notation [[filename.html]] or [html](filename.html), then this does not work. Instead of showing the HTML file, Obsidian creates an empty filename.html.md file and opens that.

As a workaround you could use the [html](file:///path/filename.html) notation, but this only allows absolute file paths. This not only makes the links uglier and longer, and you must be careful with space characters in file names etc., but most of all, if you move the vault, these links will break. So this is not a viable replacement for an internal link.

And using an HTML link like <a href="filename.html">html</a> would be even uglier and does not work either anyway.

Some use cases:

  • I have converted my Evernote notes to an Obsidian vault. In addition to a Markdown conversion of every note, I also keep the original note with the original formatting as HTML in the attachments folder of the same vault. I would like to link from the Markdown note to its Evernote original in HTML format, using the notation mentioned above.
  • In order to fully replace a tool like Evernote, it should be possible to save snapshots of Internet pages in Obsidian. Usually it is sufficient to keep a Markdown conversion of Internet content. But sometimes when you have more complicated formatting and layout, you want to keep the original HTML. In these cases, you can save the page e.g. with the SingleFile Firefox add-on as HTML, and store this snapshot as part of the Obisidian vault inside the attachments folder. But then you need to have a way to link to this page.
  • Some parts of your knowledge base are best stored as spreadsheets. It would be great if you could link to or embed to such spreadsheets in the attachment folder. Embedding spreadsheets is one of the useful features in OneNote - it would be great if Obsidian would at least have rudimentary support for linking to spreadsheets that are part of the vault.
5 Likes

I am not disagreeing with this. Obsidian development is moving fast and my original comment is already stale :sweat_smile:. If you use Obsidian Sync, you can selectively sync non-md files, app performance keeps getting better, and search syntax more featured.

I would love to have one place for everything.

3 Likes

Please add this feature. I work on a daily basis with Office documents and reference a lot to them.

2 Likes

+1 - I am a student who would love to use Obsidian to plan my projects and then export them to docx (the only acceptable form for my program). Because my goal is to use this for my studies I’m a little worried about how I’m going to make this happen!

Agreed.

But until a direct export is potentially available, if you haven’t already tried it, you may want to check out exporting to a PDF then converting that PDF to .docx.

Good luck.

Note that this feature request is for including docx files in Obsidian Vaults, not exporting to docx.

(You may want to try opening your Obsidian docs in a different markdown writer. iA Writer has excellent export capabilities.)

Ah thank you, I’ll check that out! I’m also interested in including docx files in the vault. That would be extremely useful!

1 Like

Removed and reposted.

6 Likes

Sounds too good to be true :+1: :+1: :+1:

Reposted for clarity.

Linking files other than the supported ones will work in 0.10.10+
On click, the files will be opened outside obsidian with their default editor.

Embedding will add box with the filename & link. Again, you can click on the link to open the file using the default handler (there is no ā€œtranslusionā€ of unsupported files).

13 Likes

Thank you so much for building this. As the OP/requester, it makes me so happy that a feature I requested was built. As a user, it is super helpful.

I am one of those people who have tried a lot of different editors. And, none other than obsidian (in 10 years) has delivered features at such an incredible pace, nor has been so receptive to customer feedback. And, thanks for that. :raised_hands:t3:

If there is anything I can do to support you now and in the future, please let me know.

3 Likes

Obsidian just keeps getting better and better. Thanks.

ce

2 Likes

however convert obsidian md file into PDF will loss outline strcture.

Now that obsidian supports Word, Excel, etc. documents inside the vault, I’m wondering if there any potential problems or pitfalls to storing them in there, particularly on the Mac, iPad, and iPhone?

I mean, it’s just another folder from the operating system perspective, right? I’m not running any special risk of data loss, corruption, or lost documents?

The only catch I know of is a mobile bug: if and only if you’re using iCloud Drive to store any mobile-synced vaults, you can’t drag and drop into the folder, and sometimes I’ve run into save issues (e.g., Word will force me into a Save as… and make me pick a folder outside of the iCloud Drive/Obsidian app container.

Good to know, Ryan. Thanks!

I haven’t been doing as much Microsoft Word work on my iPad or iPhone as I thought I might be, so this is not an issue — at least not yet.