|
From: | Nicolas Goaziou |
Subject: | Re: [O] Canonical way to strip off all markup from an element in Org exporter backend? |
Date: | Wed, 20 Dec 2017 23:27:22 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Kaushal Modi <address@hidden> 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...?
[Prev in Thread] | Current Thread | [Next in Thread] |