From: Kaushal Modi <kaushal.modi@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
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 22:11:34 +0000 [thread overview]
Message-ID: <CAFyQvY3W2NS+-5Eci3d_A+J9+Pb-FYabxr1Dhih3Sp2baH7uoA@mail.gmail.com> (raw)
In-Reply-To: <87wp1hhx9b.fsf@nicolasgoaziou.fr>
[-- Attachment #1: Type: text/plain, Size: 682 bytes --]
On Wed, Dec 20, 2017 at 5:04 PM Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:
> You could write a dedicated (anonymous) back-end for that,
Thanks! I feared so. Then the strip-HTML-tags approach seems to be the
quickest.
> if you have a clear idea about what "strip off all markup" means.
>
Would there be an interest to add that to the core something like a "base
class" of exporter backends?
"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.
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 1287 bytes --]
next prev parent reply other threads:[~2017-12-20 22:11 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 [this message]
2017-12-20 22:27 ` Nicolas Goaziou
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=CAFyQvY3W2NS+-5Eci3d_A+J9+Pb-FYabxr1Dhih3Sp2baH7uoA@mail.gmail.com \
--to=kaushal.modi@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/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.