Markdown in figure captions


#1

Hello,

The inbuilt figure shortcode does not recognize markdown emphasis characters in captions.

So below:

{{< figure src="/images/org-mode-unicorn-logo.png" caption="A unicorn --- **green** unicorn!" >}}

or

{{% figure src="/images/org-mode-unicorn-logo.png" caption="A unicorn --- **green** unicorn!" %}}

result in:

image

The Markdown emphasis is especially useful in technical blogs where you might have a caption as:

Output when you run `some_command` 

… which you would like to see rendered as:

Output when you run some_command


Should I open an issue for this?


#2