From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: export "simple" HTML?
Date: Mon, 13 Oct 2014 10:27:34 +0800 [thread overview]
Message-ID: <8761fo3drd.fsf@ericabrahamsen.net> (raw)
In-Reply-To: CAAjq1mcLCUM7O7pVx-9X9v_4MSMH8bk2HuaDaUk9E1WEekrgxA@mail.gmail.com
Grant Rettke <gcr@wisdomandwonder.com> writes:
> If it is an easy answer, how would one do this in batch mode?
I've never actually exported anything in batch mode, so I won't be able
to provide a real recipe, but body-only is one of the main export
options, usually given as an argument to org-export-as (and family). If
you're calling any one of those export functions directly as part of the
batch export, you can just set that argument to t.
Hope that's enough to get you there...
> On Sun, Oct 12, 2014 at 1:46 PM, Eric Abrahamsen
> <eric@ericabrahamsen.net> wrote:
>> Gary Oberbrunner <garyo@oberbrunner.com> writes:
>>
>>> Has anyone created an HTML exporter that just exports "simple" HTML
>>> with no fancy CSS stuff, just "normal" tags like <hN> and <table> and
>>> <i> and <b> and <li>? Basically something that could be pasted into
>>> an email or a larger document. The current HTML export is beautiful,
>>> but it adds all kinds of divs, spans, CSS tags, and other extraneous
>>> stuff.
>>
>> Try the "body only" export option: in the export dispatcher, hit "C-b"
>> to toggle. That should give you clean HTML with no file template, and no
>> bells and whistles.
>>
>>
next prev parent reply other threads:[~2014-10-13 2:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-12 18:14 export "simple" HTML? Gary Oberbrunner
2014-10-12 18:46 ` Eric Abrahamsen
2014-10-13 1:02 ` Grant Rettke
2014-10-13 2:27 ` Eric Abrahamsen [this message]
2014-10-13 7:47 ` Fabrice Niessen
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=8761fo3drd.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--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.