Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions src/pages/docs/reference/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,33 @@ After installing the package, pass the plugin name as a string:

<!-- prettier-ignore-end -->

If you need to pass options to a markdown plugin, you can use object syntax with the plugin name and the options it takes.

<!-- prettier-ignore-start -->

<app-ctc-block variant="snippet">

```js
export default {
markdown: {
plugins: [
"rehype-slug",
"remark-gfm",
{
name: "rehype-autolink-headings",
options: {
behavior: "append"
},
},
],
},
};
```

</app-ctc-block>

<!-- prettier-ignore-end -->

## Optimization

Greenwood provides a number of different ways to send hints to Greenwood as to how JavaScript and CSS tags in your HTML should get loaded by the browser. Greenwood supplements, and builds up on top of existing [resource "hints" like `preload` and `prefetch`](https://developer.mozilla.org/en-US/docs/Web/HTML/Preloading_content).
Expand Down