all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* exporter: How to get :file property on a src block in an exporter
@ 2021-12-21 21:26 Yasushi SHOJI
  2021-12-22 14:34 ` Ihor Radchenko
  0 siblings, 1 reply; 7+ messages in thread
From: Yasushi SHOJI @ 2021-12-21 21:26 UTC (permalink / raw)
  To: emacs-org list

Hi,

I'm writing an exporter and I'd like to get :file property on a src block.
Let's say I have the following src block in an org file.

#+BEGIN_SRC ditaa :file images/hello-world.png :exports code
+--------------+
| Hello World! |
+--------------+
#+END_SRC"

And, say, I'm writing a function for my exporter:

(defun org-myexporter-src-block (src-block contents info)
    (let ((file (xxxxxxx yyy)))))

How can I get "images/hello-world.png" in org-myexporter-src-block?

Thanks,
-- 
            yashi


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

end of thread, other threads:[~2021-12-23  2:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-21 21:26 exporter: How to get :file property on a src block in an exporter Yasushi SHOJI
2021-12-22 14:34 ` Ihor Radchenko
2021-12-22 15:52   ` Yasushi SHOJI
2021-12-22 16:07     ` Yasushi SHOJI
2021-12-22 18:22       ` Berry, Charles
2021-12-22 22:16         ` Yasushi SHOJI
2021-12-23  2:28           ` Berry, Charles

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.