From: Rick Frankel <rick@rickster.com>
To: kuanyui <azazabc123@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Add a class for first paragraph in ox-html?
Date: Tue, 10 Jun 2014 10:01:58 -0400 [thread overview]
Message-ID: <f8e9e5f21729da4cc6bdc47f12c72cdb@mail.rickster.com> (raw)
In-Reply-To: <87sinhbr74.fsf@kuanyui-laptop.site>
On 2014-06-06 18:37, kuanyui wrote:
> If you export an Org file to HTML, which has a paragraph before the
> first outline, the paragraph will be only wrapped with <p> and no
> class/id:
> This is an obstacle for write CSS for org HTML page. Maybe this can be
> fix by add a seperate class or id for this paragraph? Thanks.
Adding a class or wrapping the paragraphs (there can be more than one)
before the first headline is non-trivial.
However, I believe these are the only paragraphs as direct children of
the content div, you can use the css selector "#content > p" to
reference them.
rick
prev parent reply other threads:[~2014-06-10 14:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-06 22:37 Add a class for first paragraph in ox-html? kuanyui
2014-06-10 14:01 ` Rick Frankel [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f8e9e5f21729da4cc6bdc47f12c72cdb@mail.rickster.com \
--to=rick@rickster.com \
--cc=azazabc123@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.