Hi Oleg,

Oleg Sivokon <olegsivo...@gmail.com> writes:

> Suppose I wanted to extract the structure from an Org document, where,
> what's important for me would be to have it cathegorically divided into
> headers, paragraphs of text, technical information and inclusion of
> other documents (code snippets).  How would I do it?

You would use org-element.  Try org-element-parse-buffer and
org-element-map and maybe org-element-interpret-data.  There's also a
bunch of regexp for identifying/finding particular types of elements.

Cheers,
Rasmus

-- 
To err is human. To screw up 10⁶ times per second, you need a computer


Reply via email to