Search code examples
org-modeorg-babel

list org-babel blocks available/ingested in the library of babel


I use the library-of-babel to consolidate common org-babel blocks and make them callable from elsewhere in org-mode.

The source blocks feed into the library-of-babel (via org-babel-ingest) from a few different files.

Is there a way to get a listing of available library entries?

This will help to know:

  1. what's there (and available for use), and
  2. what isn't, (and should be added).

How can I view and edit the contents of the library-of-babel?


Solution

  • The variable org-babel-library-of-babel contains all functions.

    If you only want the names of the functions, get the first element of each entry:

    (mapcar 'car org-babel-library-of-babel)