link-headers-directly icon indicating copy to clipboard operation
link-headers-directly copied to clipboard

Feature Request: Compatibility with live Preview

Open jowibou opened this issue 4 years ago • 10 comments

Any chance we could get this working in the LivePreview mode?

jowibou avatar Jan 02 '22 10:01 jowibou

I'd love that, and have looked into, but found that it's outside of my scope of skills, and I don't currently have the time to teach myself how I could get it working :( If anyone using the plugin is more experienced than me, and knows how to write plugins for Live Preview, maybe they could create a PR for it!

Signynt avatar Jan 03 '22 22:01 Signynt

Well beyond my current skillset too. Thanks for the plugin in any case.

jowibou avatar Jan 05 '22 13:01 jowibou

+1 for this, hope someone helps you with that, it is a small plugin but it is awesome.

Archie-2021 avatar May 03 '22 12:05 Archie-2021

+1 for this!

lilruffian avatar Jun 06 '22 03:06 lilruffian

+1 to this, as it would be really useful.

Gewerd-Strauss avatar Oct 17 '22 10:10 Gewerd-Strauss

+1 Anyone out there have any idea how this could be modified to work in Live Preview?

robertandrews avatar Nov 24 '22 22:11 robertandrews

+1 Anyone out there have any idea how this could be modified to work in Live Preview?

In theory obsidian plugins can modify active files. So an idea:

One could make a plugin rewrite wikilinks after they are closed/the cursor is no longer within/whatever trigger you want. A link [[Note#Header]] would become [[Note#Header|Header]], which would print as Header in LP when the cursor is not within[[]]. However, this would probably interfere with this functionality [[Note#Header|custom, suitable Header]], so idk how viable it would be.

Gewerd-Strauss avatar Nov 25 '22 08:11 Gewerd-Strauss

Posting A link to an example plugin for using live preview for future reference: https://github.com/nothingislost/obsidian-cm6-attributes

InvisOn avatar Jan 02 '23 04:01 InvisOn