emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: Markup for export question


From: Ulf Stegemann
Subject: [Orgmode] Re: Markup for export question
Date: Fri, 10 Jul 2009 09:35:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Hi Giovanni,

Giovanni Ridolfi <address@hidden> wrote:

> --- Gio 9/7/09, Ulf Stegemann <address@hidden> ha scritto:
>> When writing documentations I often
>> come across expressions like
>>
>>  doMagic('myVariable')
>>
>> In an ideal world the HTML code for this after exporting the org file
>> would look like this:
>>
>> <code>doMagic('<var>myVariable</var>')</code>
>>
>> The purpose is of course to indicate that `doMagic' is a literal
>> function/method name while `myVariable' is not meant literal and is
>> to be replaced something more or less sensible.
>
> ... did you play with "Literal examples", chapter 12.1 of the manual?
>
> or "12.6.6 Text areas" ?

yes, I'm aware of those but I was rather referring to inline markup not
src/example blocks. To make it clearer, imagine something like this:

  Copy your configuration to /install-dir/conf.

Which ideally would be exported as

  Copy your configuration to <code>/<var>install-dir</var>/conf</code>.

This is something where a src/example block is not suitable.

Ulf





reply via email to

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