Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Result block does not add language type. #29

Open
thomasf opened this issue Apr 6, 2017 · 1 comment
Open

Result block does not add language type. #29

thomasf opened this issue Apr 6, 2017 · 1 comment

Comments

@thomasf
Copy link

thomasf commented Apr 6, 2017

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,
...
@weshmashian
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants