twkrol / notion-backlinks-creator

Automates creating backlinks to pages within collections. Helps maintain zettelkasten references.
GNU General Public License v3.0
22 stars 1 forks source link

Support inline page references #1

Open darthmachina opened 4 years ago

darthmachina commented 4 years ago

Not too familiar with the Zettelkasten method, but I like to create page links in the text itself vs strictly a set of links at the bottom (the #Reflinks section). I do usually use some sort of links list for related items as well, though. What do you think about adjusting the link finder to not require a #reflinks section but also search for links inline? It would also pick up any links under a #Reflist by default, since those would be considered part of the page.

I was in the process of writing my own backlinks generator for Notion which does it this way, but your script is much farther along than mine. If this is a route you want to go down I can probably make the changes myself and create a PR.

twkrol commented 4 years ago

Let's try it - you can get my code, add yours and we will see :)

darthmachina commented 4 years ago

I should have some time this weekend to take a stab at it.

mraakashshah commented 4 years ago

I'm definitely interested in having the program pick up @page mentions and linked pages.

eladve commented 4 years ago

@darthmachina @mraakashshah I wrote a fork that does what you're asking for: https://github.com/eladve/notion-backlinks-creator Also made a corresponding pull request here: https://github.com/twkrol/notion-backlinks-creator/pull/3

darthmachina commented 4 years ago

Thanks for doing that! I never found the time to get to it myself.

mraakashshah commented 3 years ago

Notion has this built-in now, I think https://nesslabs.com/notion-backlinks