Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AmazingRise/hugo-theme-diary.wiki.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Inserting-Figures.md')
-rw-r--r--Inserting-Figures.md16
1 files changed, 16 insertions, 0 deletions
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
+<center>
+
+![](search_result.jpg)
+
+</center>
+```
+
+**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.