obsidian-ketcher icon indicating copy to clipboard operation
obsidian-ketcher copied to clipboard

Enable inline preview

Open Liam-Twomey opened this issue 10 months ago • 2 comments

The usability of this plugin would be vastly improved if ![[ketcher-note]] rendered the structure (without the ketcher UI) in the note, similarly to how note-embedding works.

Liam-Twomey avatar Jan 24 '25 21:01 Liam-Twomey

I think there would be two ways to implement this:

  1. Preview the actual canvas which Ketcher uses. This might be less than ideal, since this might also grab the UI.
  2. Just load the SVG which Ketcher generates when Obsidian asks for the file embed.

Liam-Twomey avatar Jan 24 '25 21:01 Liam-Twomey

There is another obsidian plugin that is based on Ketcher which let's you embed a rendered structure in your note using a markdown code block with a smiles string. Ideally those to plugins would be merged, otherwise the other plugin may serve as a reference how this could be implemented.

fcskit avatar Jun 25 '25 17:06 fcskit