when pandoc generates an pdf out of an markdown file all images got caption (Figure 1: some caption) in a floating block.
How could be done the same for source code?
I would like to keep the option to generate HTML and don't use Latex specific command, if possible.
Imagined input:
```bash {caption: "A git commit"}
git commit file1.txt --message="A commit message"
```
Output:
git commit file1.txt --message="A commit message"
Figure 1: A git commit