Support all file types for the Publish service

This is a followup from my old archived feature request.

I kindly request that Obsidian Publish (that is, the service and the plugin) support any kind of file type. That is, not just images, audio, videos, and PDFs.

Use case or problem

I drop and reference any kind of file into my Obsidian Vaults, not limited to images, audio, videos, and PDFs.

Examples include, but are not limited to:

  • Documents, spreadsheets, and keynotes (from both Microsoft and Apple office suites)
  • Archives (zip, rar, tar.gz, etc.)

My public notes have broken links to “forbidden” attachments. I would like to share related attachments in my public notes.

This missed functionality severely limits the potential of Obsidian Publish.

Proposed solution

Allow publishing any file type in Obsidian Publish.

When a file can’t be visualized, make it downloadable instead of having it shown inline like with a pic.

Current workaround (optional)

Hosting files with another cloud solution and link to them in notes. Clunky.

Thanks for considering!

2 Likes

This would be helpful for me too. I published several notes on 3d printing, and I included several stl files. On the published site, neither the files nor the corresponding links are visible.

I understand this design choice might be driven by security, but then no binary files should be allowed since it is possible to craft malicious images, videos, and PDF files.

1 Like

Already implemented.

Could you elaborate? The issue still persists for me.

@rpcm How did you get it to work?

I tried ![[example.zip]] but nothing was rendered on the published website.
I tried [[example.zip]] but on the published website, the link results in a The link destination "example.zip" does not exist. toast.

Is there an update on this? I’d love to be able to publish my Jupyter notebooks. Thanks!

Just wanted to add support for this as well! I’m attempting to roll my own RSS feeds, but I’m unable to publish the XML or JSON files.

In the current official roadmap, the release of canvas support appears to be the next stage goal. If canvas support is released, it is likely that support for attachments will also be implemented simultaneously.