![[abc.html]] Should Render Html Content like <iframe>

Use case or problem

![[abc.html]] Should Render Html Content like in <iframe>.

Why?

  1. While <iframes> works fine, <iframes> has issues with finding html files in Obsidian vaults. See attempts here: Allow to open local file - #55 by Yummy
  2. Because ![[abc.html]] is called an “embedding” and the html content should thus be rendered as is expected of an “embedding”

Proposed solution

Renderer logic:

  • Retrieve path of file in ![[abc.html]]. (This is already done in Obsidian and works fine)
  • Insert path of file p in <iframe src=p></iframe>. Insert this at the position where ![[abc.html]] should be rendered.
  • Done.

Current workaround (optional)

None/non-scalable workarounds. See attempts linked above.

9 Likes