emacs-wiki-discuss
[Top][All Lists]
Advanced

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

[emacs-wiki-discuss] Indenting <example> tags


From: Allen Halsey
Subject: [emacs-wiki-discuss] Indenting <example> tags
Date: Tue, 21 Jun 2005 18:43:52 -1000
User-agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)

Hi list,

(I'm just getting started with emacs-wiki/planner.)

I like to indent my <example> tags so that they stand out from the
text, like this:

  <example>
  # Print a message
  echo 'hello world'
  <example>

However, the published html includes the indentation spaces:

<pre class="example">  # Print a message
  echo 'hello world'
</pre>

I was wondering if the publishing process could somehow remove the
indentation spaces, so that the result is:

<pre class="example">print 'hello world'
echo 'hello world'
</pre>

Any hints on how I can achieve this?

Thanks

Allen




reply via email to

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