emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to get the contents of an Org subtree?
@ 2023-07-25  4:58 Marcin Borkowski
  2023-07-25  5:19 ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Marcin Borkowski @ 2023-07-25  4:58 UTC (permalink / raw)
  To: Org-Mode mailing list

Hi all,

I want to get the contents ("text") of a subtree.  Without the heading,
without the drawers - just the text.  For example, for this:

--8<---------------cut here---------------start------------->8---
** Title
:PROPERTIES:
:CUSTOM_ID: whatever
:END:
This is the text.
--8<---------------cut here---------------end--------------->8---

I need the string "This is the text.".

How to do that?

-- 
Marcin Borkowski
http://mbork.pl


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-25 14:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-25  4:58 How to get the contents of an Org subtree? Marcin Borkowski
2023-07-25  5:19 ` Ihor Radchenko
2023-07-25 14:54   ` Marcin Borkowski

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).