Zettlr / zettlr-docs

This repository holds the official documentation of Zettlr
https://docs.zettlr.com/
GNU General Public License v3.0
158 stars 176 forks source link

Create page from an internal link #165

Closed mpenguin closed 1 year ago

mpenguin commented 1 year ago

Would it be possible for Zettlr to be able to create pages from internal links?

I got this idea from Bryan Jenks (https://www.youtube.com/watch?v=zIh1S7ra3aI). Basically, he uses tags as umbrella categories, and [[links]] for the ability to associate ideas/topics with pages that can then be created as "hubs" for those links.

For example, if I do a lot of research into AI, I might make a lot of notes talking about [[ChatGPT]] or [[OpenAI]]. If I do that in a regular note, the page doesn't yet exist. But if I ctrl-click on it, it brings me to the search window. In Obsidian (and Roam, from what I understand), it will create a new page with that name. Then that new page can be used as a hub or page to collect all the information for that topic. The links point to the page and can be followed from any of the notes that [[link]] to it, and the page serves as the hub for the topic, linking to other notes, other websites, etc.

I think this is a really interesting and powerful way to work, especially when combined with the Map Viewer in Obsidian (or in Zettlr). It allows you to see how many pages are linking to a certain topic; at some point, that topic page will need to be created (because with so many links, it must be important to your work/research/studies/etc.

So basically, when I ctrl-click on an [[link]] that doesn't exist, I want Zettlr to create a page with that name instead of bringing up the search. In this case, the file wouldn't need to be named with a ZKID because each of these pages would be a unique topic. Would that be possible?

Thanks very much for your time and any thoughts and feedback.

nathanlesage commented 1 year ago

This is the setting you are looking for:

image

(P.S.: If you don't want an internal search to happen, the setting above that does this as well.)

(P.P.S.: Next time, please start a discussion here, this repo should be focused on improving and changing the documentation)