liang2kl / mkdocs-blogging-plugin

Add blogging feature to your MkDocs site.
https://liang2kl.github.io/mkdocs-blogging-plugin
MIT License
84 stars 17 forks source link

[FEATURE] Blog image preview support #35

Closed zhz03 closed 2 years ago

zhz03 commented 2 years ago

Is your feature request related to a problem? Please describe. Hi, can you add an image preview to the blog preview and let users to manipulate it directly from the blog markdown file?

Describe the solution you'd like For example, if users specify the following in the markdown file:

img: /assets/img/12.jpg

Then in the blog post preview, you should see the 12.jpg as image preview.

liang2kl commented 2 years ago

As a non-essential feature, this might not be implemented by the plugin itself but can instead be setup manually using a customized template, and an example can be found here. There is also a related issue: https://github.com/liang2kl/mkdocs-blogging-plugin/issues/16.

zhz03 commented 2 years ago

Thanks! The problem has been solved!