Fontify links in non-Org buffers
Denote links are automatically fontified in Org mode and Markdown mode buffers (Adding a single link). This means that the given major mode recognises the link and applies to it the relevant properties that make it clickable/actionable. The generic text-mode (for ‘.txt’ files) does not have this capability, hence the denote-fontify-links-mode: it makes all Denote links actionable with the mouse, ‘RET’, or ‘C-c C-o’. The denote-fontify-links-mode is a buffer-local minor mode. Users can enable it automatically in plain text files that correspond to denote notes with something like this:
emacs-lisp
(add-hook 'text-mode-hook #'denote-fontify-links-mode)Fontified links can be opened with ‘RET’, ‘C-c C-o’, or a mouse click (‘C-c C-o’ is also the default for Org and Markdown).