Commit Graph

5 Commits

Author SHA1 Message Date
Reorx 5a324267dc add fixedWith for image-size-control 2022-09-10 00:50:11 +08:00
Reorx d88771adee use height instead of max-height to control img size on parent div
this change happens on both image-size-control and figure-img-size
2022-08-11 01:18:18 +08:00
Reorx 375281fd60 fix shortcodes rendering markdown img
replace markdownify with .Page.RenderString, the latter trigger render hook properly

see: https://gohugo.io/functions/markdownify/#readout
> Note: if you need Render Hooks, which markdownify doesn’t currently support, use .RenderString instead.
2022-06-01 16:21:06 +08:00
Reorx 9f8b0c3194 use max-width, max-height for image-size-control 2022-05-27 20:33:17 +08:00
Reorx cbba5c25bd add image-size-control shortcode 2022-05-05 16:49:21 +08:00