aboutsummaryrefslogtreecommitdiff
path: root/content/overview-images
diff options
context:
space:
mode:
Diffstat (limited to 'content/overview-images')
-rw-r--r--content/overview-images/index.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/content/overview-images/index.md b/content/overview-images/index.md
index 0e623e5..d253932 100644
--- a/content/overview-images/index.md
+++ b/content/overview-images/index.md
@@ -1,6 +1,6 @@
+++
-title = "Images, Direct and Relative Path"
-date = 2021-05-08
+title = "Image Examples"
+date = 2021-05-09
[taxonomies]
categories = ["Features"]
@@ -9,12 +9,14 @@ tags = ["images"]
Images can be embed using direct or relative paths.
<!-- more -->
-Use `img()` to specify the relative path of image:
+Use `img(path="./image.jpg", alt="Papaya")` to specify the relative path of image:
-{{ img(path="./image.jpg", alt="") }}
+{{ img(path="./image.jpg", alt="Papaya") }}
This is an example note with direct image, without using shortcode:
+`![Rust](rust.png)`
+
![Rust](rust.png)
This is an svg image: