todvora / gitbook-plugin-image-captions

Image captions plugin for GitBook
Apache License 2.0
44 stars 18 forks source link

Caption not created #20

Closed hrishikeshvganu closed 7 years ago

hrishikeshvganu commented 7 years ago

I used the following md syntax:

![Test](/assets/Seq_seq.png )

My image is created but the caption does not appear. Here's my book.json:

{
"plugins": [
"image-captions"
]
}
todvora commented 7 years ago

Hi @hrishikeshvganu, I cannot reproduce it. Your MD code is in my environment translated to:

<figure id="fig1.1.1"><img src="assets/Seq_seq.png" alt="Test"><figcaption>Figure: Test</figcaption></figure>

Could you please provide some additional information? What version of Gitbook and the plugin? Any error messages in logs or console? What exactly is in the generated html code?

Thanks, Tomas

todvora commented 7 years ago

Closing due to inactivity, please feel free to reopen if the problem still occurs.