Use org-export-to-buffer/org-export-as instead of org-export-string-as
orgtre opened this issue · 3 comments
orgtre commented
This would make the exporter better aware of other things in the org buffer such as global settings, references, etc. See louietan/anki-editor#81 and louietan/anki-editor#102.
cmirdesouza commented
What needs to be done on this issue?
If it is to copy-paste the code on the mentioned PRs to the code of this repository I can make a PR tomorrow.
orgtre commented
No, just copy-pasting the code breaks the field mappings (see my comment at #81) so that would have to be sorted out too.
renatgalimov commented