emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* inlinetask html export template
@ 2011-08-08  7:35 suvayu ali
  2011-08-08  8:39 ` Jambunathan K
  0 siblings, 1 reply; 5+ messages in thread
From: suvayu ali @ 2011-08-08  7:35 UTC (permalink / raw)
  To: org-mode mailing list

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-08-08 11:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-08  7:35 inlinetask html export template suvayu ali
2011-08-08  8:39 ` Jambunathan K
2011-08-08  8:51   ` suvayu ali
2011-08-08 10:35     ` Jambunathan K
2011-08-08 11:48       ` suvayu ali

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).