~bzg/worg

5f187d26237229fdd00b69f3ec571d3d796ad159 — Thomas S. Dye a month ago ae3b8b7
org-contrib/babel/intro.org: Clean up Library of Babel
1 files changed, 8 insertions(+), 8 deletions(-)

M org-contrib/babel/intro.org
M org-contrib/babel/intro.org => org-contrib/babel/intro.org +8 -8
@@ 909,10 909,9 @@ colMeans(x)
  :CUSTOM_ID: library-of-babel
  :END:

  (see also [[https://orgmode.org/manual/Library-of-Babel.html#Library-of-Babel][Org manual:Library-of-Babel]])

  As we saw above with the [[*Using a Code Block as a Function][square]] example, once a source block
  function has been defined it can be called using the =#+call:= notation:
  As we saw with the [[*Using a Code Block as a Function][square]] example, once a source block function has
  been defined in the buffer it can be called using the =#+call:=
  notation:

  : #+call: square(x=6)



@@ 934,10 933,6 @@ colMeans(x)
#   that other Org Babel users will be able to contribute some helpful
#   code.

  Once upon a time, Org Mode was distributed with the eponymous
  [[file:library-of-babel.org][Library of Babel]] file.  This file, which includes a wide variety of
  source code blocks for common tasks, is now available at @@html: <a href="https://git.sr.ht/~bzg/worg/tree/master/item/library-of-babel.org">library-of-babel.org</a>@@.

  In practice, you are free to register as many files as you wish to your Library of Babel 
  using the function, =org-babel-lob-ingest=, which is bound to =C-c C-v l=.



@@ 950,7 945,12 @@ colMeans(x)
  source-code block to registered Library of Babel functions. It is
  also possible to reference registered Library of Babel functions in
  arguments to code blocks.
  
  Once upon a time, Org Mode was distributed with the eponymous
  Library of Babel file.  This file, which includes a wide variety of
  source code blocks for common tasks, is now available at @@html: <a href="https://git.sr.ht/~bzg/worg/tree/master/item/library-of-babel.org">library-of-babel.org</a>@@.

  For more information, see [[https://orgmode.org/manual/Library-of-Babel.html#Library-of-Babel][Library-of-Babel]].
* Literate Programming
  :PROPERTIES:
  :CUSTOM_ID: literate-programming