Skip to content

Commit e83fcdc

Browse files
authored
feat: add built-in layout two-cols-header (#135)
1 parent 004c016 commit e83fcdc

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

builtin/layouts.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,33 @@ This shows on the left
176176
This shows on the right
177177
```
178178

179+
### `tow-cols-header`
180+
181+
Separates the upper and lower lines of the page content, and the second line separates the left and right columns.
182+
183+
#### Usage
184+
185+
186+
```md
187+
---
188+
layout: two-cols-header
189+
---
190+
191+
This spans both
192+
193+
:::left:::
194+
195+
# Left
196+
197+
This shows on the left
198+
199+
::right::
200+
201+
# Right
202+
203+
This shows on the right
204+
```
205+
179206
## Custom Layouts
180207

181208
Create a directory `layouts/` under your project root, and simply put your custom Vue layout components under it.

0 commit comments

Comments
 (0)