ob-http icon indicating copy to clipboard operation
ob-http copied to clipboard

Result block does not add language type.

Open thomasf opened this issue 8 years ago • 1 comments

It wold be nice to be able to specify the content type of the resulting example block so that ob highlighting works inside of it...

So that this is inserted

#+begin_example json

in a situation like this:

#+BEGIN_SRC http
GET /api/something/
Content-Type: application/json
Authorization: Token ${token}

#+END_SRC

#+RESULTS:
#+begin_example
{
  "count": 1182,
...

thomasf avatar Apr 06 '17 16:04 thomasf

Passing :wrap example json to SRC block should yield the expected result.

weshmashian avatar Apr 18 '18 09:04 weshmashian