* html: handling new lines
@ 2008-03-06 0:06 lanas
2008-03-06 0:21 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: lanas @ 2008-03-06 0:06 UTC (permalink / raw)
To: org-mode list
Hello,
Is it possible for orgmode to observe the actual newlines inserted
into the org file when exporting to html ? By this I mean:
- [ ] First item
- [ ] Second item
NOTES on the second item
- [ ] Third item
The 'NOTES' line, in the html version, will not have an empty line
between it and the above list item. This could be done:
- [ ] First item
- [ ] Second item
@<p>
NOTES on the second item
But then the 'NOTES' will begin at the first column, without any
leading spaces, which is not as nice.
If there's an option or a way to preserve empty lines and leading
spaces in the html version of a document, please let me know.
Cheers,
Al
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: html: handling new lines
2008-03-06 0:06 html: handling new lines lanas
@ 2008-03-06 0:21 ` Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2008-03-06 0:21 UTC (permalink / raw)
To: emacs-orgmode
Hi Lanas,
lanas <lanas@securenet.net> writes:
> Is it possible for orgmode to observe the actual newlines inserted
> into the org file when exporting to html ?
Check `org-export-preserve-breaks'.
But be aware that you cannot expect all the line breaks to be
represented in HTML as they appear in plain text -- you might
have to play with the CSS stylesheet to fix this.
--
Bastien
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-06 0:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-06 0:06 html: handling new lines lanas
2008-03-06 0:21 ` Bastien
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.