Comments (3)
So you want the custom ID of a headline entry? How do you want to get it, like choosing from a list and pasting/yanking it into the buffer? If so maybe something like this:
(defun org-brain-yank-id ()
(interactive)
(insert (car (last (org-brain-choose-entry "Get ID of entry: "
(org-brain-headline-entries) nil t)))))
from org-brain.
For being able to generate ™human friendly™ references in HTML exports, I need to find the CUSTOM_ID for a known ID. If all else fails, I can scan for it via AWK, but there probably is a better way.
from org-brain.
If you know the ID you could use something like this (not related to org-brain, only using the builtin org functions):
(org-entry-properties (org-find-id "the ID of the entry") "CUSTOM_ID")
from org-brain.
Related Issues (20)
- Latex in a node title HOT 1
- single document use-case HOT 5
- help needed: enabling org-cite/citar actions in visualized buffer HOT 5
- [Q] org-brain-ensure-ids-in-buffer respecting a :noid: tag would be nice HOT 2
- Two questions HOT 6
- Opening an entry instead creates a new file named after entry ID HOT 4
- Invalide function: define-hostmode HOT 2
- Show only description of links in text area HOT 4
- Can't add new nodes to the brain HOT 3
- Symbol’s value as variable is void: org-brain-poly-hostmode when ein:jupyter-server-start HOT 10
- Formating org data at Entry section HOT 1
- Not possible to overwrite mode-keymap HOT 1
- Symbol's value as variable is void: Org-capture-templates HOT 3
- The last grandchild(test level 3'') is showed under the "test level 1" HOT 4
- Is it possible to display all hierarchical under visualize-mind-map? HOT 1
- No more polymode? HOT 2
- Org-brain relationship adding messes up org-roam indexing HOT 1
- How many nodes can org-brain handle? HOT 5
- Difference between C-u edge and plain edge? 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 org-brain.