In an bookdown::git_book I'd like to
- have alternative text for figures (
alt), but no caption - or even have an alternative text that's different from the caption.
At the moment it seems both are controlled by the chunk parameter fig.cap.
To disable figure captions in the whole document, the fig_caption config param didn't work so I resorted to CSS in this minimal example with @rlesur's help.
I have two related questions:
- Is there a better way to disable figure captions in the whole book?
- Could one have captions that are different from the alternative text?
I'm sorry if I missed a previous question / issue about this and welcome any insight.