Updating README - including org babel note
parent
0103f45836
commit
f29ea072d2
@ -0,0 +1,16 @@
|
||||
|
||||
@article{bernard_leptospirosis_1993,
|
||||
title = {Leptospirosis},
|
||||
volume = {9},
|
||||
issn = {07490739},
|
||||
url = {https://linkinghub.elsevier.com/retrieve/pii/S0749073917304108},
|
||||
doi = {10.1016/S0749-0739(17)30410-8},
|
||||
language = {en},
|
||||
number = {2},
|
||||
urldate = {2021-04-01},
|
||||
journal = {Veterinary Clinics of North America: Equine Practice},
|
||||
author = {Bernard, William V.},
|
||||
month = aug,
|
||||
year = {1993},
|
||||
pages = {435--444}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
#+date: 2021
|
||||
#+options: toc:nil num:nil author:nil
|
||||
|
||||
* org-babel
|
||||
|
||||
[[https://orgmode.org/worg/org-contrib/babel/intro.html][Babel]] is a org utility to write code within org files. It is a nice tool to make
|
||||
literate programming and have a beatiful documented code.
|
||||
|
||||
You can include many structures to include different languages in the
|
||||
same document.
|
||||
|
||||
Header arguments let the user to choose multiple features of the document. [[https://org-babel.readthedocs.io/en/latest/header-args/][Here]]
|
||||
a reference for header arguments.
|
||||
|
||||
|
||||
** Include templates in org babel
|
||||
|
||||
Use:
|
||||
|
||||
: M-x org-insert-structure-template
|
||||
|
||||
Or keybinding
|
||||
|
||||
: C-c C,
|
||||
|
||||
Then choose an option (src, example, center, comment)
|
||||
|
||||
Or use org-tempo. To include a src code block in the document:
|
||||
|
||||
: <s TAB
|
||||
|
||||
Change the letter for each option that you need (a, C, c, E, e... for "export
|
||||
ascii", "comment", "example"...)
|
Loading…
Reference in New Issue