[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Setting language on result of code block
From: |
Magnus Therning |
Subject: |
Setting language on result of code block |
Date: |
Sun, 02 Aug 2020 22:47:07 +0200 |
User-agent: |
mu4e 1.4.12; emacs 27.0.91 |
Is there some way to specify the language on the result of a code block.
For instance, if the block
#+begin_src bash
aws --endpoint-url=http://localhost:4566 sns create-topic --name the-topic
#+end_src
gives the result
#+RESULTS:
#+begin_example
{
"TopicArn": "arn:aws:sns:eu-central-1:000000000000:the-topic"
}
#+end_example
Is there some way I can specify that the result is JSON? That is get the
result
#+RESULTS:
#+begin_example json
{
"TopicArn": "arn:aws:sns:eu-central-1:000000000000:the-topic"
}
#+end_example
/M
--
Magnus Therning OpenPGP: 0x927912051716CE39
email: magnus@therning.org
twitter: magthe http://magnus.therning.org/
Every act of creation is first an act of destruction.
— Pablo Picasso
signature.asc
Description: PGP signature
- Setting language on result of code block,
Magnus Therning <=