emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] ox-md image captions
@ 2023-02-27 10:02 Vladimir Alexiev
  2023-02-27 18:52 ` Ihor Radchenko
  0 siblings, 1 reply; 20+ messages in thread
From: Vladimir Alexiev @ 2023-02-27 10:02 UTC (permalink / raw)
  To: emacs-orgmode

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

I have an image caption like this:

#+label: fig:bsdd-graphql-voyager-refact-detail
#+caption: Refactored bSDD GraphQL Schema
[[./img/bsdd-graphql-voyager-refact-Classification-ClassificationProperty.png]]

ox-md exports it like this:

![img](./img/bsdd-graphql-voyager-refact-Classification-ClassificationProperty.png
"Refactored bSDD GraphQL Schema")

(see https://git.sr.ht/~bzg/org-mode/tree/main/item/lisp/ox-md.el#L595)

However, pandoc expects image captions to be formatted like this:

![Refactored bSDD GraphQL
Schema](./img/bsdd-graphql-voyager-refact-Classification-ClassificationProperty.png)

(see https://pandoc.org/MANUAL.html#images).
Consequently, all my captions are lost and replaced with "img".

Maybe ox-md should emit captions in both places?

![caption](image-url "caption")

Note: I checked, ox-gfm doesn't do anything different regarding image
captuions

---

[9.5.2 (release_9.5.2-25-gaf6f12 @ c:/Emacs/share/emacs/28.1/lisp/org/)]
Emacs  : GNU Emacs 28.1 (build 52, x86_64-w64-mingw32) of 2022-04-04
Package: Org mode version 9.5.2 (release_9.5.2-25-gaf6f12 @
c:/Emacs/share/emacs/28.1/lisp/org/)

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

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

end of thread, other threads:[~2023-04-16 18:12 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-27 10:02 [BUG] ox-md image captions Vladimir Alexiev
2023-02-27 18:52 ` Ihor Radchenko
2023-04-04  8:48   ` Ihor Radchenko
2023-04-04 19:34     ` Vladimir Alexiev
2023-04-04 19:41       ` Ihor Radchenko
2023-04-07 14:56         ` Max Nikulin
2023-04-07 15:29           ` Vladimir Alexiev
2023-04-07 17:21             ` Max Nikulin
2023-04-08 10:29               ` Ihor Radchenko
2023-04-08 10:25             ` Ihor Radchenko
2023-04-05  9:43     ` Morgan Willcock
2023-04-05 10:04       ` Ihor Radchenko
2023-04-05 10:41         ` Morgan Willcock
2023-04-05 11:07           ` Ihor Radchenko
2023-04-05 15:30             ` Vladimir Alexiev
2023-04-16 15:36             ` Ihor Radchenko
2023-04-05 12:06     ` Max Nikulin
2023-04-05 13:05       ` Ihor Radchenko
2023-04-05 15:15         ` Max Nikulin
2023-04-05 15:22           ` 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).