From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Styling HTML output Date: Thu, 25 Aug 2011 18:57:39 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qwf7Z-00073t-Oj for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 14:57:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qwf7Y-0000A5-87 for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 14:57:45 -0400 Received: from mailout2-trp.thomsonreuters.com ([163.231.6.26]:19894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qwf7Y-00009d-3r for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 14:57:44 -0400 Received: from trpusmneagrly02.int.westgroup.com (relay2 [163.231.22.113]) by mailout2-trp.thomsonreuters.com (Sentrion-MTA-4.0.5/Sentrion-MTA-4.0.5) with ESMTP id p7PIvfTg016724 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Thu, 25 Aug 2011 18:57:41 GMT Received: from EAGE-ERFPHUB02.ERF.thomson.com (EAGE-ERFPHUB02.erf.thomson.com [163.231.23.34]) by trpusmneagrly02.int.westgroup.com (Sentrion-MTA-4.0.5/Sentrion-MTA-4.0.5) with ESMTP id p7PIvfe2006472 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Thu, 25 Aug 2011 18:57:41 GMT Content-Language: en-US Content-ID: <91B86E519947BB40B85F6C7DCF6E03AB@local> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I wanted to share some CSS code that I've found useful for exported HTML do= cuments. It adds a little "R" or "sh" or "Perl" (etc.) label to the top of= a source block. (setq org-export-html-style "") I got help on Stack Overflow to figure that out: http://stackoverflow.com/= questions/7192054/create-box-with-title-legend-in-css . I stick that in my .emacs file and I get output with nice little labels. H= opefully someone else will find it useful too. -- Ken Williams Senior Research Scientist Thomson Reuters http://labs.thomsonreuters.com