From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: Canonical way to strip off all markup from an element in Org exporter backend?
Date: Wed, 20 Dec 2017 23:27:22 +0100 [thread overview]
Message-ID: <87o9mthw6t.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAFyQvY3W2NS+-5Eci3d_A+J9+Pb-FYabxr1Dhih3Sp2baH7uoA@mail.gmail.com> (Kaushal Modi's message of "Wed, 20 Dec 2017 22:11:34 +0000")
Kaushal Modi <kaushal.modi@gmail.com> writes:
> Thanks! I feared so. Then the strip-HTML-tags approach seems to be the
> quickest.
You must be kidding. It must be around 8 locs. See for example
`org-export-toc-entry-backend'.
> Would there be an interest to add that to the core something like a "base
> class" of exporter backends?
I fail to see how it could be generally useful.
> "strip off all markup" simply means export something like "*abc* /def/
> =ghi= ~jkl~ +mno+ _pqr_" as "abc def ghi jkl mno pqr". Think of that as a
> backend without even the minimal adornment that ox-ascii has... and
> ox-ascii can be a derived backend from this one.
What are you doing with entities, footnotes, latex-snippets...?
next prev parent reply other threads:[~2017-12-20 22:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-20 18:30 Canonical way to strip off all markup from an element in Org exporter backend? Kaushal Modi
2017-12-20 22:04 ` Nicolas Goaziou
2017-12-20 22:11 ` Kaushal Modi
2017-12-20 22:27 ` Nicolas Goaziou [this message]
2017-12-20 22:41 ` Kaushal Modi
2017-12-21 14:22 ` Nicolas Goaziou
2017-12-22 20:31 ` Kaushal Modi
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=87o9mthw6t.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=kaushal.modi@gmail.com \
/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.