org-export-string-as

org-export-string-as is an autoloaded Lisp function in `ox.el'.

(org-export-string-as STRING BACKEND &optional BODY-ONLY EXT-PLIST)

Transcode STRING into BACKEND code.

BACKEND is either an export back-end, as returned by, e.g.,
`org-export-create-backend', or a symbol referring to
a registered back-end.

When optional argument BODY-ONLY is non-nil, only return body
code, without preamble nor postamble.

Optional argument EXT-PLIST, when provided, is a property list
with external parameters overriding Org default settings, but
still inferior to file-local settings.

Return code as a string.