Relative Content

Tag Archive for org-mode

Can you format/configure an org-mode code block output from a sql query so that it creates an org-table?

EDIT: after more digging I found an answer to the following question. You can configure the format org uses to display the results of code blocks. By default it infers the result type and chooses a format. The relevant documentation is here: https://orgmode.org/manual/Results-of-Evaluation.html. An example that would solve the problem below would be to specify the header argument :results raw.