summaryrefslogtreecommitdiff
path: root/layouts/_default/_markup/render-image.html
AgeCommit message (Collapse)Author
2025-06-13fix: image caption being wider than imageEltrac
Use `position: absolute` for `<figcaption>`, not affecting the container's width. Also rewrite `<figure>` `<figcaption>` style. Former-commit-id: bc02375be7268edc78f4a00badc4b2292cc1a96f
2025-05-09feat: render markdown image with necessary contextEltrac
By context I mean necessary attributes, parents and brothers. Now I can use bare ![]() instead of img shortcode to insert images with fancybox, lazyloading and caption. Recommended format: ```markdown ![alt text](image_source "caption text") ``` Former-commit-id: d6219f997cab144905ce07b0a3b61b36b24495fa