Using an image caption in Markdown Jekyll

后端 未结 10 868
一个人的身影
一个人的身影 2021-01-29 18:11

I am hosting a Jekyll Blog on Github and write my posts with Markdown. When I am adding images, I do it the following way:

![name of the image](http://link.com/ima

10条回答
  •  一生所求
    2021-01-29 18:15

    You can try to use pandoc as your converter. Here's a jekyll plugin to implement this. Pandoc will be able to add a figure caption the same as your alt attribute automatically.

    But you have to push the compiled site because github doesn't allow plugins in Github pages for security.

提交回复
热议问题