From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Strings inside code blocks
Date: Wed, 16 Apr 2014 14:38:07 +0200 [thread overview]
Message-ID: <874n1tjvps.fsf@gmail.com> (raw)
In-Reply-To: CAJ+TeodfLWRT0zHXvbuAOS6nESiAcTb6b=4=BBysS2jVa4yeJw@mail.gmail.com
Rustom Mody <rustompmody@gmail.com> 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
next prev parent reply other threads:[~2014-04-16 12:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-16 11:37 Strings inside code blocks Rustom Mody
2014-04-16 12:38 ` Thorsten Jolitz [this message]
2014-04-16 16:08 ` Rustom Mody
2014-04-16 17:22 ` Thorsten Jolitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874n1tjvps.fsf@gmail.com \
--to=tjolitz@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).