From 4038e1627d682a9b58d79674f0098835e5e4d8a4 Mon Sep 17 00:00:00 2001 From: Rise <8315221+AmazingRise@users.noreply.github.com> Date: Thu, 13 May 2021 16:45:17 +0800 Subject: Updated Inserting Figures (markdown) --- Inserting-Figures.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Inserting-Figures.md b/Inserting-Figures.md index 26fcad0..82a5a7c 100644 --- a/Inserting-Figures.md +++ b/Inserting-Figures.md @@ -1,3 +1,19 @@ +## Centering + +To post a centering image, you can: + +```markdown +
+ +![](search_result.jpg) + +
+``` + +**NOTE:** The blank lines matter, don't remove them. + +## Resizing or more ... + Inspired by [this issue](https://github.com/AmazingRise/hugo-theme-diary/issues/55), I ported a shortcode from [cupper-hugo-theme](https://github.com/zwbetz-gh/cupper-hugo-theme). Thanks for [zwbetz-gh](https://github.com/zwbetz-gh)'s code. -- cgit v1.2.3