emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Strings inside code blocks


From: Thorsten Jolitz
Subject: Re: [O] Strings inside code blocks
Date: Wed, 16 Apr 2014 14:38:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Rustom Mody <address@hidden> writes:

> I want to put a string-literal inside an inline code-block
> Neither 
> ~"Hello World"~
> nor ="Hello World"= seem to work
>
> If it cant be done then I need an html specific solution; I'd prefer a
> generic one though.

This

,------------------------------
| * 1st Level
| src_emacs-lisp{"Hello World"}
`------------------------------

renders this

,----------------------------------------------------------------------
| [...]
| <li><a href="#sec-1">1. 1st Level</a></li>
| </ul>
| </div>
| </div>
| <div id="outline-container-sec-1" class="outline-2">
| <h2 id="sec-1"><span class="section-number-2">1</span> 1st Level</h2>
| <div class="outline-text-2" id="text-1">
| <p>
| <code>Hello World</code></p>
| [...]
`----------------------------------------------------------------------


-- 
cheers,
Thorsten




reply via email to

[Prev in Thread] Current Thread [Next in Thread]