Skip to content

Commit

Permalink
update README with gatsby-transformer-remark options
Browse files Browse the repository at this point in the history
  • Loading branch information
tsriram committed May 21, 2018
1 parent f6093c1 commit 3ffbe16
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion packages/gatsby-transformer-remark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,19 @@ Parses Markdown files using [Remark](http://remark.js.org/).

```javascript
// In your gatsby-config.js
plugins: [`gatsby-transformer-remark`];
plugins: [
{
resolve: `gatsby-transformer-remark`,
options: {
// define default values for frontmatter variables here (optional)
frontmatter: {
defaultValues: {
category: `Uncategorised`
}
}
}
}
];
```

A full explanation of how to use markdown in Gatsby can be found here:
Expand Down

0 comments on commit 3ffbe16

Please sign in to comment.