Giter Site home page Giter Site logo

Comments (3)

Kungsgeten avatar Kungsgeten commented on September 25, 2024

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.

drawkula avatar drawkula commented on September 25, 2024

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.

Kungsgeten avatar Kungsgeten commented on September 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.