[Orgmode] wrap sourcecode?

2010-09-23 Thread Matt Price
This may be an odd request, but is it possible to wrap sourcecode blocks?
attached is the org source for the following page, rendered by wordpress
using html generated by org2blog:
http://www.hackinghistory.ca/lab-01-understanding-html/
You can see that without wrapping, the source goes right off of the page.
Is there anything I can do to fix that? Do I need to define the src and
example classes in css somewhere, in order to get horizontal sliders?  Or
can I set an option in the html export that will make this easier for me?

Thanks as always,
Matt


lab-01-html.org
Description: Binary data
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] wrap sourcecode?

2010-09-23 Thread Erik Iverson

On 09/23/2010 07:11 PM, Matt Price wrote:

This may be an odd request, but is it possible to wrap sourcecode
blocks?  attached is the org source for the following page, rendered by
wordpress using html generated by org2blog:
http://www.hackinghistory.ca/lab-01-understanding-html/
You can see that without wrapping, the source goes right off of the
page.  Is there anything I can do to fix that? Do I need to define the
src and example classes in css somewhere, in order to get horizontal
sliders?  Or can I set an option in the html export that will make this
easier for me?


You can see from the generated HTML that those classes have already
been assigned

pre class=src src-html

so you just need to provide the appropriate style.  There are several
ways to accomplish that, see CSS Support in the manual if memory
serves.

--Erik

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode