Joost Kremers writes:
> I was wondering if there's a way to programmatically get the text of a
> node in an Org buffer. Basically, I have a buffer that looks something
> like this:
>
> #+BEGIN_SRC org
> * Top header
> ** Subheader
> :PROPERTIES:
> :Custom_ID: some_id
> :END:
>
> Text star
Sometimes giving a bad answer inspires someone else to give a better one,
so here goes:
It seems like the best way to get the contents programatically is using
org-dp (https://github.com/tj64/org-dp). I don't see a way in org-element.
The data returned will include the property drawer of the hea
Hi all,
I was wondering if there's a way to programmatically get the text
of a node in an Org buffer. Basically, I have a buffer that looks
something like this:
#+BEGIN_SRC org
* Top header
** Subheader
:PROPERTIES:
:Custom_ID: some_id
:END:
Text starts here, possibly with additional