emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Erik Iverson <eriki@ccbr.umn.edu>
To: Matt Price <moptop99@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: wrap sourcecode?
Date: Thu, 23 Sep 2010 19:30:52 -0500	[thread overview]
Message-ID: <4C9BF13C.8040003@ccbr.umn.edu> (raw)
In-Reply-To: <AANLkTimLeNHrM486darx_Odg5D0uFJu9if=XC6yucs3Q@mail.gmail.com>

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

      reply	other threads:[~2010-09-24  0:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-24  0:11 wrap sourcecode? Matt Price
2010-09-24  0:30 ` Erik Iverson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C9BF13C.8040003@ccbr.umn.edu \
    --to=eriki@ccbr.umn.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=moptop99@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).