Comments (4)
This left part of the link is what allows links to work in Denote (and org), ie you can click on them or have a backlinks
buffer. Normally, it is not visible to the user. The right part is the description and is meant to be controlled by the users.
By default, the description is the file's title (and signature if present). This can be controlled by the variable denote-link-description-function
. It is not yet released on gnu elpa. It will be available in Denote 3.0.0. If you have the latest code, you can try this:
(defun my-link-description-function (file region-text)
(denote-get-file-name-relative-to-denote-directory file))
(setq denote-link-description-function #'my-link-description-function)
Your links would look like [[denote:20240126T142743][emacs/20240126T142743--Basic-Elisp__emacs_code.org]]
. Would this be an acceptable solution?
Have a look at the default value of denote-link-description-function
if you want your link descriptions to include the file's title or the region content.
from denote.
Hi, no I need rather the oposite, the left side modified so that I can use the links outside of emacs:
[[emacs/20240126T142743--Basic-Elisp__emacs_code.org][Basic Elisp]]
OR
[[20240126T142743--Basic-Elisp__emacs_code.org][Basic Elisp]]
Is this possible?
But then I guess that the part of denote:
is what it actually opens the link right?
from denote.
from denote.
Thanks for the explanation, I'm closing the issue then and will try to find some solution for my particular case.
from denote.
Related Issues (20)
- Prevent newline between front matter and templates HOT 2
- question: why IDENTIFIER and not ID HOT 2
- New fontification is not limited to Denote files HOT 3
- Identifier showing up in keyword section when creating/renaming denote files HOT 2
- Ignored Files Regexp HOT 9
- Denote disappears after doom emacs is restarted HOT 2
- Dynamic block is not working HOT 3
- Nested dynamic blocks breaks the update functionality HOT 4
- denote-journal-extras-new-or-existing-entry creates new file every time HOT 9
- Merging 2 notes into 1 HOT 3
- denote-file-prompt shouldn't match archive files ? HOT 3
- denote-add-links doesn't use titles as descriptions inside silos HOT 9
- Denote seems to interfere with magit on Emacs 29.3 HOT 2
- Show entries in Calendar HOT 1
- Rename existing files after changes to denote-file-name-components-order? HOT 3
- markdown links in org files are opened in an external app HOT 4
- `denote-rename-buffer-mode` breaks Org capture detection HOT 6
- Support using functions in `denote-templates` HOT 4
- Title as first element causes shell problems due to leading `--` HOT 6
- Proposal: add frontmatter normalization functions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from denote.