Automatic linking has a really neat way of doing automatic linking (I think they call it magic linking). I would love to have this option in Logseq!

Basically, if you type out the name of an existing page it gets automatically linked. Pretty “simple”.

Hi @Sarah_Arminta, what if you want to type a literal word instead of the name of a page?

Can you give an example?

My thoughts are to make it case sensitive and/or provide the ability to right click to remove the link? Another idea could be to disable autolinking to specific pages in that page’s properties for example.

I think auto-linking would be too cumbersome, I would suggest adding a button to each unlinked reference block that links the keyword.

Similar to how Obsidian MD handles it. When you hover your mouse over an unlinked reference block, a blue “link” button appears to link the keyword.


For example, I have a page called Python. On another page, I want to type the sentence “I’m learning Python” without linking the page Python. With automatic backlinking it would be hard to do. Do I understand it correctly?

If this is added I would prefer it to be a configurable option - which I could then turn off. I much prefer to make conscious decisions about backlinking so that I only create backlinks when I think there is a reason to do so (and I try to make sure that the reason is obvious in the context around the link). Otherwise the backlink sections can become full off references that don’t really add any value to the main topic and the value backlinks can become devalued by ‘noise’.

1 Like
  • I also prefer to link manually to avoid extra noise but I can see useful use-cases.
    maybe this would be a good plugin ?

  • @junyu

    On another page, I want to type the sentence “I’m learning Python” without linking the page Python.

    • so there should be a way to escape the autolinking, maybe \Python or ~Python or ^Python would not trigger autolink ?
  • a nice middleground would be an optionnal autolinking for CamelCase or Snake_Case terms, as in most wikis ?

Surely there are useful use cases. Another concern that I have is performance because we need to search constantly as the user is typing in order to create a page reference automatically.

indeed, the performance trade-off wouldn’t be great.
for my part I’d rather have better perfs and less features than the opposite… that’s why I’m so happy to see the demo of the plugins api. Features like autolinking could/should be plugins, not core features, so users can chose if they want/need to install them or not…

Welp, it doesn’t sound like anyone else is interested in something like this haha.

Anyways, I do agree it should be a plugin instead of a core feature :relieved:

I’m confused by the title. Isn’t “automatic backlinking” already built into logseq? Isn’t this exactly what “Unlinked References” is? seems to do forward linking automatically, not backlinking. Or am I missing something here?

1 Like

we’re referring to autolinking here (automatic forward linking), the topic title may be slightly misleading. eg: if a term already has its own page, using the term anywhere else would automatically link to the corresponding page inline.
say I have a page [[reference]] in the graph, now if I ever write this is a block mentioning page reference, the work reference will be auto-transformed into [[reference]], thus the result would be this is a block mentioning page [[reference]] without the need to write the [[ part.

this is what happens in (in real time), tiddlywiki has autolink for camelcase (realtime), mindforger has a deferred autolink.

we need to search constantly as the user is typing in order to create a page reference automatically.

@junyu one way to alleviate this issue is by NOT evaluating the text as the user is typing, but rather to provide autolinking as a deferred feature in a menu : once the user has finished typing, one could go to menu>autolink, only then, the parser would go through the text and add relevant forward links by comparing the raw text with the indexed files.
not as fancy as a real-time autolinking, but this could be an easy plugin to implement.


Ok, I changed the title.

This would be a great feature and make logseq more beginner friendly, with an option to turn it off, too

I’d see this as a great idea too indeed. I’m quite sure my backlinking will stay being based on conscious decision in order to not clutter up my references with irrelevant backlinkings - but in certain situations I might decide all things on the page ARE relevant - and link them in one flush. Sounds really helpful to workflows :slight_smile:

How about highlighting the possible words instead of Autolinking?
and if needed option to link everyone of them.
Example, freelinks in tiddlywiki