emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to export org as org and keep heading IDs?
@ 2023-11-09 18:10 shortcutz
  2023-11-09 18:25 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: shortcutz @ 2023-11-09 18:10 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 489 bytes --]

org-md-export-as-markdown preserves the ID property of an org buffer, but
for some reason org-org-export-as-org does not. I don't have the "visible
only" option set.

According to the function documentation I should be able to pass a property
list "with external parameters overriding Org default settings", but I
don't know what those default settings are or what parameters will cause
the ID to be exported.

How can I export org headings to org buffers while preserving the ID?
Thanks.

[-- Attachment #2: Type: text/html, Size: 602 bytes --]

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

* Re: How to export org as org and keep heading IDs?
  2023-11-09 18:10 How to export org as org and keep heading IDs? shortcutz
@ 2023-11-09 18:25 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2023-11-09 18:25 UTC (permalink / raw)
  To: shortcutz; +Cc: emacs-orgmode

shortcutz <spookygostee@gmail.com> writes:

> org-md-export-as-markdown preserves the ID property of an org buffer, but
> for some reason org-org-export-as-org does not. I don't have the "visible
> only" option set.

See `org-export-with-properties'.

-- 
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>


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

end of thread, other threads:[~2023-11-09 18:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-09 18:10 How to export org as org and keep heading IDs? shortcutz
2023-11-09 18:25 ` Ihor Radchenko

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).