From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: Re: How do I set a class for a paragraph in HTML export? Date: Mon, 01 Dec 2014 20:36:50 -0800 Message-ID: <87tx1efz19.fsf@berkeley.edu> References: <871toihn5c.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvfDz-0003y1-7J for emacs-orgmode@gnu.org; Mon, 01 Dec 2014 23:38:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XvfDu-0006jv-6Z for emacs-orgmode@gnu.org; Mon, 01 Dec 2014 23:38:07 -0500 Received: from plane.gmane.org ([80.91.229.3]:51476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvfDt-0006i3-UO for emacs-orgmode@gnu.org; Mon, 01 Dec 2014 23:38:02 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XvfDr-0003Rs-CV for emacs-orgmode@gnu.org; Tue, 02 Dec 2014 05:37:59 +0100 Received: from c-67-169-117-151.hsd1.ca.comcast.net ([67.169.117.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Dec 2014 05:37:59 +0100 Received: from richard.lawrence by c-67-169-117-151.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Dec 2014 05:37:59 +0100 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 Cc: Marcin Borkowski Hi Marcin, Marcin Borkowski writes: > > I'd like to get something like this: > >

Hello world

> > What should I write in the Org file? Looking at org-html-paragraph, I'm > afraid that it's currently impossible. This works for me: ---------------------------------- #+ATTR_HTML: :class myclass This is a paragraph. ---------------------------------- That produces ----------------------------------

This is a paragraph.

---------------------------------- in the exported HTML. Best, Richard OpenPGP Key ID: CF6FA646 Fingerprint: 9969 43E1 CF6F A646 (See http://www.ocf.berkeley.edu/~rwl/encryption.html for more information.)