Hacker News new | ask | show | jobs
by kreetx 1613 days ago
Exactly. So instead of the first example I'd have the following in some .org file, where C-c C-c on the bash block generates the result block:

  #+begin_src bash :results verbatim
  curl https://jsonplaceholder.typicode.com/todos/1 
  #+end_src

  #+RESULTS:
  : {
  :   "userId": 1,
  :   "id": 1,
  :   "title": "delectus aut autem",
  :   "completed": false
  : }