返回 slidev
imported-slides.md
根目录 / demo / starter / pages / imported-slides.md
1 # Imported Slides
2
3 You can split your slides.md into multiple files and organize them as you want using the `src` attribute.
4
5 #### `slides.md`
6
7 ```markdown
8 # Page 1
9
10 Page 2 from main entry.
11
12 ---
13
14 ## src: ./subpage.md
15 ```
16
17 <br>
18
19 #### `subpage.md`
20
21 ```markdown
22 # Page 2
23
24 Page 2 from another file.
25 ```
26
27 [Learn more](https://sli.dev/guide/syntax.html#importing-slides)
28
28 lines MARKDOWN