From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Iverson Subject: Re: wrap sourcecode? Date: Thu, 23 Sep 2010 19:30:52 -0500 Message-ID: <4C9BF13C.8040003@ccbr.umn.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=47249 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oyw8B-0006nA-8h for emacs-orgmode@gnu.org; Thu, 23 Sep 2010 20:27:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oyw89-0002n1-V6 for emacs-orgmode@gnu.org; Thu, 23 Sep 2010 20:27:15 -0400 Received: from pegasus.biostat.wisc.edu ([144.92.73.35]:47739) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oyw89-0002mg-Qb for emacs-orgmode@gnu.org; Thu, 23 Sep 2010 20:27:13 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matt Price Cc: emacs-orgmode@gnu.org 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

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