public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* unwanted image captions
@ 2017-09-23 16:20 Clint Adams
       [not found] ` <20170923162044.aoj7ciyfuidd7d4u-Ef207QMqB4M@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Clint Adams @ 2017-09-23 16:20 UTC (permalink / raw)
  To: pandoc-discuss

Text::Markdown will render

    ![some text](https://example.org/img/onetwothree.jpg)

to

    <p><img src="https://example.org/img/onetwothree.jpg" alt="some text" /></p>

This is what I want and expect.

However, when transforming markdown to HTML with pandoc, the following
is produced:

    <div class="figure">
    <img src="https://example.org/img/onetwothree.jpg" alt="some text" />
    <p class="caption">some text</p>
    </div>

Is there a way to render the alt text but not a caption?  A quick look
at the source code suggests that there is not.


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

end of thread, other threads:[~2017-09-23 17:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-23 16:20 unwanted image captions Clint Adams
     [not found] ` <20170923162044.aoj7ciyfuidd7d4u-Ef207QMqB4M@public.gmane.org>
2017-09-23 16:38   ` Albert Krewinkel
     [not found]     ` <87k20pcqur.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2017-09-23 17:33       ` Clint Adams

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 NNTP newsgroup(s).