From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: inlinetask html export template
Date: Mon, 8 Aug 2011 09:35:55 +0200 [thread overview]
Message-ID: <CAMXnza3+QHd4mJouK5PauYoFR6e=rRP-xfW=3catj0c1fD8oww@mail.gmail.com> (raw)
Hi,
org exports inlinetasks to HTML as preformatted text, and uses the
style class inlinetask. I wanted to export inlinetasks as a section
("div" ?) but with the same style.
I don't know any HTML, but with some guess work I customised the html
template like this:
(html "<div class=\"inlinetask\"><b>%s%s</b><br />%s</div>"
'((unless (eq todo "")
(format "<span class=\"%s %s\">%s%s</span> " class todo todo priority))
heading content))
This takes care of replacing the preformatted block with a section but
the style isn't applied any more. Any ideas how I can achieve that?
--
Suvayu
Open source is the future. It sets us free.
next reply other threads:[~2011-08-08 7:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-08 7:35 suvayu ali [this message]
2011-08-08 8:39 ` inlinetask html export template Jambunathan K
2011-08-08 8:51 ` suvayu ali
2011-08-08 10:35 ` Jambunathan K
2011-08-08 11:48 ` suvayu ali
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='CAMXnza3+QHd4mJouK5PauYoFR6e=rRP-xfW=3catj0c1fD8oww@mail.gmail.com' \
--to=fatkasuvayu+linux@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 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).