42 lines
No EOL
1.2 KiB
Markdown
42 lines
No EOL
1.2 KiB
Markdown
---
|
|
title: Shortcodes
|
|
description: Useful shortcodes that can be used in Markdown
|
|
date: 2023-08-25 00:00:00+0000
|
|
image: cover.jpg
|
|
---
|
|
|
|
For more details, check out the [documentation](https://stack.jimmycai.com/writing/shortcodes).
|
|
|
|
## Bilibili video
|
|
|
|
{{< bilibili "BV1d4411N7zD" >}}
|
|
|
|
## Tencent video
|
|
|
|
{{< tencent "g0014r3khdw" >}}
|
|
|
|
## YouTube video
|
|
|
|
{{< youtube "0qwALOOvUik" >}}
|
|
|
|
## Generic video file
|
|
|
|
{{< video "https://www.w3schools.com/tags/movie.mp4" >}}
|
|
|
|
## Gist
|
|
|
|
{{< gist CaiJimmy e2751a943de10b2a5b3a8a6c2120cb86 >}}
|
|
|
|
## GitLab
|
|
|
|
{{< gitlab 2589724 >}}
|
|
|
|
## Quote
|
|
|
|
{{< quote author="A famous person" source="The book they wrote" url="https://en.wikipedia.org/wiki/Book">}}
|
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
{{< /quote >}}
|
|
|
|
-----
|
|
|
|
> Photo by [Codioful](https://unsplash.com/@codioful) on [Unsplash](https://unsplash.com/photos/WDSN62Qdxuk) |