This is the official manual for the latest Org-mode release.

Table of Contents

Next: , Previous: Evaluating code blocks, Up: Working with source code

14.6 Library of Babel

The “Library of Babel” is a collection of code blocks. Like a function library, these code blocks can be called from other Org files. This collection is in a repository file in Org mode format in the ‘doc’ directory of Org mode installation. For remote code block evaluation syntax, see Evaluating code blocks.

For any user to add code to the library, first save the code in regular ‘src’ code blocks of an Org file, and then load the Org file with org-babel-lob-ingest, which is bound to C-c C-v i.