emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] How can I keep spaces while publishing html?


From: Water Lin
Subject: Re: [Orgmode] How can I keep spaces while publishing html?
Date: Mon, 21 Sep 2009 13:05:53 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt)

Water Lin <address@hidden> writes:

> I am using org to publish some context to html now. There are some code
> in my file, so I need to keep the code original even don't lose the
> spaces.
>
> But even I used @<pre> @</pre> at the begin and end of my code, after I
> published the context, the spaces disappeared withou trace!
>
> How can I keep the spaces?
>
> I am using command
> C-u M-x org-export-region-as-html
> to publish my file.

I think the following way is Ok:

     #+BEGIN_SRC emacs-lisp
     (defun org-xor (a b)
        "Exclusive or."
        (if a (not b) b))
     #+END_SRC

The link is :
------
http://orgmode.org/manual/Literal-examples.html#Literal-examples

-- 
Water Lin's blog: http://blog.waterlin.org
Email: address@hidden
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 





reply via email to

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