emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* emphasis inside source block?
@ 2013-12-09 21:36 David Rogoff
  2013-12-10  8:55 ` Rainer M Krug
  0 siblings, 1 reply; 2+ messages in thread
From: David Rogoff @ 2013-12-09 21:36 UTC (permalink / raw)
  To: emacs-orgmode

Sorry if this has been discussed but I wasn’t able to find info on it.
I have lots of source blocks in my org files (tcl, verilog, shell-script, etc).  I want to be able to highlight (e.g. *bold*) text in the code but this doesn’t work since it’s using the specified language mode instead of org mode.  Is there some way to use a minor mode within source blocks that would allow this?  It’s become a big problem in generating documentation.

Thanks,

 David

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: emphasis inside source block?
  2013-12-09 21:36 emphasis inside source block? David Rogoff
@ 2013-12-10  8:55 ` Rainer M Krug
  0 siblings, 0 replies; 2+ messages in thread
From: Rainer M Krug @ 2013-12-10  8:55 UTC (permalink / raw)
  To: David Rogoff, emacs-orgmode

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On 12/09/13, 22:36 , David Rogoff wrote:
> Sorry if this has been discussed but I wasn’t able to find info on 
> it. I have lots of source blocks in my org files (tcl, verilog, 
> shell-script, etc).  I want to be able to highlight (e.g. *bold*) 
> text in the code but this doesn’t work since it’s using the
> specified language mode instead of org mode.  Is there some way to
> use a minor mode within source blocks that would allow this?  It’s
> become a big problem in generating documentation.

I don't think so - as any code in the source blocks can be executed
(C-c C-c) or tangled into executable code, so any markup would
interfere with these processes.

Although I do think it would be quite useful, I guess it would be
really difficult to implement in a consistent way between different
code blocks with different languages.

Cheers,

Rainer


> 
> Thanks,
> 
> David
> 

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer@krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSptcAAAoJENvXNx4PUvmChwcH/2kU/ldGw9gCMyvltDYM5wYQ
1GeRjWvRdtVtzFfHxH+9w29lIH2GaBBBlZoy2x9SwfKCbAbZLURlIfqx8vrF4yMt
T/60GzUP3Uz8uXE+BXxG5+9sAfxHUfR9K09y2RXUt58gjrqqJVxQOdVJf7vy7TWS
YYBqhxweB1fdaTWmYJz0P1ObOiRmw1TR1CV8qGogT5m/O4JnBzr0wcF0hxGfvU8k
Kv23cD9s7q18mDa01RAvaDlorm/OerCWvEkiTgLftwBKuH6d64FNGLOSmZTAacZx
VlXSoTjVwnjEoKGt4KXABjYsNtvY5f7WkAeUBv8lZn+TYZjxWzfXDsxlt9Moc0w=
=Jzkc
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-10  8:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-09 21:36 emphasis inside source block? David Rogoff
2013-12-10  8:55 ` Rainer M Krug

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).