Hello, Tim Visher <tim.vis...@gmail.com> writes:
> Awesome. Do you know whether there's an official way to share this sort of > behavior between ox backends or is it just creating a function and calling > it from both places or something? Do you want to remove all markup from some parsed text? You could define temporary export back-end with `org-export-create-backend', and apply it with `org-export-data-with-backend'. See for example, how `org-latex-headline' formats headings (`text' binding in the function). If that's the case, you need to know exactly what you want. It is pretty obvious for bold markup, but what would happen to, e.g., a_b or \alpha or <<target>>? HTH, -- Nicolas Goaziou