hipstersmoothie / obsidian-plugin-toc

Create a tables of contents for a note.
286 stars 20 forks source link

How to get the full link? #15

Open Archie-2021 opened 3 years ago

Archie-2021 commented 3 years ago

In the demo you get the full link [[note name#heading|heading]] but I get only [[#heading|heading]] when I try. How I can get that? please help

visualcurrent commented 1 month ago

I wrote a python script because I needed the same thing as you. Posted here if you're interested.

https://github.com/hipstersmoothie/obsidian-plugin-toc/issues/32#issuecomment-2269560450

But an easier workaround for you might be to simply do a search and replace:

Archie-2021 commented 1 month ago

I wrote a python script because I needed the same thing as you. Posted here if you're interested.

#32 (comment)

But an easier workaround for you might be to simply do a search and replace:

  • search: [[#
  • replace with: [[note name#

Thanks, but this is for so long ago that I can't recall why I did need it at all.