Water Lin <water...@ymail.com> 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: water...@ymail.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode