emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jean Schurger <jean@schurger.org>
To: emacs-orgmode@gnu.org
Subject: publishing css using babel + sass and (new) exporter
Date: Tue, 09 Apr 2013 19:20:56 -0400	[thread overview]
Message-ID: <1365549656.3724.11.camel@blackpage.schurger.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 815 bytes --]

Hi,

   I'm a new and innocent org-mode user, and I would like to use
org-mode exporter (the new one) to publish static web pages.

The 'html' part is OK, but as I hate writing CSS, I'm using babel + sass
to build CSS code.

For example:

#+BEGIN_SRC sass exports: results
body
    background: black
#+END_SRC

#+RESULTS:
: body {
:   background: black; }

That's perfect !

My question now:

How should i configure my project-alist entry to publish resultant CSS
code.
Most of the time, it product html. I did some tests, using the ascii
exporter (thinking that ascii would be raw enough) produce an great
ascii document.
Any clue about how I can publish a 'simple' CSS file.

Jean.

 
-- 
Jean Schurger
http://schurger.org
030A C5CB 269B E2DB FE8A  F6FE 2749 CC01 AFBA 3712


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

             reply	other threads:[~2013-04-09 23:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-09 23:20 Jean Schurger [this message]
2013-04-12 17:58 ` publishing css using babel + sass and (new) exporter Rick Frankel

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=1365549656.3724.11.camel@blackpage.schurger.org \
    --to=jean@schurger.org \
    --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).