Shortcodes Test

Apr 26, 2023 By Homecat

Shortcodes are simple snippets inside your content files calling built-in or custom templates. They are created to circumvent the limitations of Markdown Syntax.

Figure

Syntax

1{{< figure 
2    src="https://pic.imgdb.cn/item/63beb6b5be43e0d30e3aa660.jpg" 
3    title="Description of image. ©Author" 
4>}}
Description of image. ©Author

Screen

Syntax

1{{< screen >}}
2Change detected, rebuilding site.<br>
32023-04-27 01:44:58.285 +0000<br>
4Source changed WRITE "/src/tester/content/blog/shortcodes-syntax.en.md"<br>
5Total in 48 ms
6{{< /screen >}}
Change detected, rebuilding site.
2023-04-27 01:44:58.285 +0000
Source changed WRITE “/src/tester/content/blog/shortcodes-syntax.en.md”
Total in 48 ms