[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Custom babel execute command with existing syntax highlighting
From: |
Andrey Tykhonov |
Subject: |
[O] Custom babel execute command with existing syntax highlighting |
Date: |
Fri, 21 Mar 2014 14:37:40 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Hi all!
I have such block:
#+BEGIN_SRC my-python
import sys
sys.platform
#+END_SRC
I want it to be with syntax highlighting, so it will looks like (in a
org-file) exactly as:
#+BEGIN_SRC python
import sys
sys.platform
#+END_SRC
(of course the value of org-src-fontify-natively is t).
but in the same time I would like that that block will be executed by means
of custom org-babel-execute:my-python command.
How can I achieve that?
Andrey
- [O] Custom babel execute command with existing syntax highlighting,
Andrey Tykhonov <=