summaryrefslogtreecommitdiff
path: root/exampleSite/content/posts
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-09-03 21:36:36 +0800
committerReorx <novoreorx@gmail.com>2022-09-03 21:36:36 +0800
commit0935880bf3ca90ab6a44e012fa867d06d6a7a3bf (patch)
tree0e5c13a9d9b4211c8a435791c63e59bdafe6dad4 /exampleSite/content/posts
parent295396b44009b6dc29c1ddfb547218d786593fcd (diff)
fix markdown image render hook, handle third party image url
Diffstat (limited to 'exampleSite/content/posts')
-rw-r--r--exampleSite/content/posts/rich-content.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/exampleSite/content/posts/rich-content.md b/exampleSite/content/posts/rich-content.md
index b7c896a..81fac33 100644
--- a/exampleSite/content/posts/rich-content.md
+++ b/exampleSite/content/posts/rich-content.md
@@ -14,6 +14,16 @@ Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-manageme
<!--more-->
---
+## Image
+
+third party image:
+
+![](https://images.unsplash.com/photo-1662141978148-2eeb2afb3837?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=772&q=80)
+
+internal image:
+
+![](images/regular.jpg)
+
## YouTube Privacy Enhanced Shortcode
{{< youtube ZJthWmvUzzc >}}