I love org-tables, I use them to document all sorts of things. I was now documenting some one-liners for Nix (after reading this excellent guide by Domen Kožar, given at this year's EuroPython), and I got into some problems:
* NIX Oneliners
|------------------+---------------------------------------------+------------------------------|
| DATE | COMMAND | DESCRIPTION |
|------------------+---------------------------------------------+------------------------------|
| <2014-07-24 Thu> | curl -L http://git.io/nix-install.sh § bash | Install nix |
| <2014-07-24 Thu> | nix-env -qaP § grep python3-3 | search for python3-3 package |
|------------------+---------------------------------------------+------------------------------|
The commands should be actually curl -L http://git.io/nix-install.sh | bash
and nix-env -qaP | grep python3-3
, but since the pipe breaks the whole thing, I need to use another character (in this case §
)
My question is: how can I tell org-mode to take a text in a region literally? I do not want to use a escape sequence for the pipe, because I want to do easy copy-paste to the shell from my documentation.
What I want is something similar to the code block in markdown:
`do | not | care | about | this`
Does this exist in org-mode
?
EDIT
Event using = this | trick =
does not work inside tables.