[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to export to the simplest possible HTML?
From: |
Ihor Radchenko |
Subject: |
Re: How to export to the simplest possible HTML? |
Date: |
Sat, 24 Jun 2023 13:34:01 +0000 |
Marcin Borkowski <mbork@mbork.pl> writes:
>> Org export passes the actual parsed and filtered AST that will be
>> exported to `org-export-filter-parse-tree-functions'. You can modify and
>> traverse the parse tree as you need.
>
> Yeah, that I do understand. Problem is, I don't know how the AST is
> structured, what functions operate on it etc. I am aware that I could
> learn all of that from the source and experimenting, but it would
> probably be a bit time-consuming, and other ways turned out to be much
> easier (which means better for me – I want something simple).
I tried to provide a summary in my recent patch.
https://list.orgmode.org/874jnudps5.fsf@localhost/3-a.txt
You can also refer to https://orgmode.org/worg/dev/org-element-api.html
> As an aside, inspecting deeply nested structures in Elisp seems a pain
> in the neck. Does anyone know a good method of interactively inspecting
> them?
https://github.com/mmontone/emacs-inspector
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>