mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
docs/fix: add language to code block (#761)
This commit is contained in:
parent
cd8b438c08
commit
11100d62ef
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ This blog post will be **rendered** inside of the `<PostLayout />` layout.
|
||||||
|
|
||||||
Markdown pages always pass a `content` prop to their layout, which is useful to grab information about the page, title, metadata, table of contents headers, and more.
|
Markdown pages always pass a `content` prop to their layout, which is useful to grab information about the page, title, metadata, table of contents headers, and more.
|
||||||
|
|
||||||
```
|
```astro
|
||||||
---
|
---
|
||||||
// src/layouts/PostLayout.astro
|
// src/layouts/PostLayout.astro
|
||||||
const { content } = Astro.props;
|
const { content } = Astro.props;
|
||||||
|
|
Loading…
Reference in a new issue