Compare commits

...

6 Commits

Author SHA1 Message Date
Shahar Naveh
2318af782f
Merge ff565f207773c8f2803a6552c657af51f7e9ab30 into d2d2a62d5a03a7ffb63c966d34f1160e7c3b1c13 2024-08-11 17:01:20 +01:00
jinzhongjia
d2d2a62d5a
docs: fix typo in chinese doc (#430) 2024-08-11 17:01:12 +01:00
Shahar Naveh
ff565f2077
Remove markdown syntax highlight 2024-06-28 15:45:00 +03:00
Shahar Naveh
33dbd4561c
Escape PDF shortcode examples 2024-06-28 15:39:34 +03:00
Shahar Naveh
2355432542
Update pdf.md 2024-06-28 15:36:43 +03:00
Shahar Naveh
24a2734ee5
Create pdf.md 2024-06-28 14:40:22 +03:00
2 changed files with 18 additions and 1 deletions

View File

@ -6,7 +6,7 @@ prev: /docs/guide
## 目录结构
默认情况下Hugo 在 `context` 目录中搜索 Markdown 文件,目录的结构决定了网站的最终输出结构。
默认情况下Hugo 在 `content` 目录中搜索 Markdown 文件,目录的结构决定了网站的最终输出结构。
以示例网站为例:
<!--more-->

View File

@ -0,0 +1,17 @@
---
title: Pdf
---
## Example
{{< pdf "https://dagrs.berkeley.edu/sites/default/files/2020-01/sample.pdf" >}}
## Usage
### With URL
```
{{</* pdf "https://dagrs.berkeley.edu/sites/default/files/2020-01/sample.pdf" */>}}
```
### With Path
```
{{</* pdf "path/to/your/pdf/file.pdf" */>}}
```