org-babelでshellを実行して見ます。
# +BEGIN_SRC shell
pandoc --version
# +END_SRC
すると次のテキストが挿入されます。
# +RESULTS:
| pandoc | 2.1.1 | | | | | | | | |
| Compiled | with | pandoc-types | 1.17.3.1, | texmath | 0.10.1, | skylighting | 0.6 | | |
| Default | user | data | directory: | /Users/sximada/.pandoc | | | | | |
| Copyright | (C) | 2006-2018 | John | MacFarlane | | | | | |
| Web: | http://pandoc.org | | | | | | | | |
| This | is | free | software; | see | the | source | for | copying | conditions. |
| There | is | no | warranty, | not | even | for | merchantability | or | fitness |
| for | a | particular | purpose. | | | | | | |
table状態に整形されています。
rawの状態にしたい場合は :results raw
を指定します。
# +BEGIN_SRC shell :results raw
pandoc --version
# +END_SRC
このコードを実行すると次のテキストが挿入されいます。
# +RESULTS:
pandoc 2.1.1
Compiled with pandoc-types 1.17.3.1, texmath 0.10.1, skylighting 0.6
Default user data directory: /Users/sximada/.pandoc
Copyright (C) 2006-2018 John MacFarlane
Web: http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.
;-)