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

Convert footlinks back into normal markdown link

Open Joilence opened this issue 4 years ago • 3 comments

I regard Footlinks as a temporary solution to avoid clutter in the text before Obsidian supports WYSIWYG editor, so it is possible that I need to convert it back. Would you consider to support recovery?

BTW, I noticed the card in Project, it might be what I mean.

Joilence avatar Dec 30 '20 19:12 Joilence

I just tested footlinks format in Typora which already has a WYSIWYG mode, and it cannot be rendered properly. So yes, I'll add recovery function.

But notice that I'm not sure if the plugin-api supports global search-and-replace text, so the new function could be just recover the docs one by one (like the way footlinks extracts links now).

If you really care, I suggest just not using this plugin to refactor notes…

DahaWong avatar Dec 31 '20 00:12 DahaWong

This is something that I would be interested in being able to do on a note-by-note basis.

My use case being as follows:

I have a lengthy note that I want to refactor by moving one or more section of text into a new note. At the moment, this means tracking down the footlinks within that section and manually recovering them before refactoring, otherwise the links are lost. It would be much easier if I could...

  1. Convert all footlinks in the current note back into "normal" links.
  2. Cut and paste the section I want to refactor into a new note.
  3. Convert the "normal" links back into footlinks in both the old note, and the new note.

I prefer to use footnote style links all the time because it makes the raw text much easier to read (the main goal of markdown) and because footnote style links are supported within the core markdown format.

rztaylor avatar Jan 16 '21 20:01 rztaylor

Interested in this enhancement as well.

welpdx avatar Jul 02 '21 04:07 welpdx