emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ista Zahn <istazahn@gmail.com>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Exporting markdown specific string
Date: Sat, 4 Jan 2014 10:48:09 -0500	[thread overview]
Message-ID: <CA+vqiLHJxAYEbN2fvdMw+n=PfiiMdHecBnKUKWcfNKxXZjXyug@mail.gmail.com> (raw)

Hi all,

I'm trying to figure out how to export a line (say "foo") only when
exporting to markdown.

For latex there is
'#+LATEX: foo'
and for html there is
'#+HTML: foo'
but neither
'#+MD: foo'
nor
'#+MARKDOWN: foo'
does the trick.

Of course
'#+HTML: foo'
exports foo to markdown since the markdown exporter is derived from
the html exporter. But I'd really like to include stuff in the
markdown export that does not also get included in the html export.

Suggestions? I'm using org-plus-contrib: Org-mode version 8.2.4
(8.2.4-18-g4ee7e6-elpaplus) installed using M-x install-packages.

Thanks,
Ista

             reply	other threads:[~2014-01-04 15:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-04 15:48 Ista Zahn [this message]
2014-01-04 17:22 ` Exporting markdown specific string Bastien
2014-01-04 18:09   ` Charles Berry
2014-01-04 18:21     ` Bastien
2014-01-04 18:40       ` Charles Berry
2014-01-04 18:50         ` Ista Zahn
2014-01-04 18:24     ` Charles Berry
2014-01-04 19:24   ` Nicolas Goaziou
2014-01-04 20:55     ` Charles Berry
2014-01-04 23:50       ` Nicolas Goaziou
2014-01-05  6:39     ` Bastien
2014-01-06 11:30       ` Nicolas Goaziou

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='CA+vqiLHJxAYEbN2fvdMw+n=PfiiMdHecBnKUKWcfNKxXZjXyug@mail.gmail.com' \
    --to=istazahn@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).