Figure titles/captions not appearing in bookdown book

Hi there, I am specifying figure titles/captions in a bookdown book using the chunk option fig.cap = "Example title". However, it doesn't seem to be working.

See, for example, the figure titles in this chapter and .Rmd file: little-kids-big-trips/03aa-abrams.Rmd at main · jrosen48/little-kids-big-trips · GitHub

Here's the rendered chapter: Abrams Creek | Trails

Thanks for any advice/tips!

I believe this is because you set fig_caption to FALSE for the output

So caption are not added but the content of fig.cap is used for title and alt text

1 Like

oye, thanks very much, that did the trick.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.