Skip to content

Commit d871c05

Browse files
author
Sergei Orlov
committed
📝 Add description of using with MarkdownRemark
1 parent 2e9355a commit d871c05

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ An example (...coming soon)
3939
- `code` (`$VALUE`)
4040
- color 🤷 (`<span notion-color="$COLOR">$VALUE</span>`)
4141
- Access to raw data returned by Notion API
42+
- Support for `markdown-remark` and `mdx`
4243

4344
## Install
4445

@@ -123,6 +124,23 @@ query {
123124
}
124125
```
125126

127+
Alternatively, you can use MarkdownRemark or MDX directly:
128+
129+
```graphql
130+
query {
131+
allMarkdownRemark {
132+
edges {
133+
node {
134+
frontmatter {
135+
title
136+
}
137+
html
138+
}
139+
}
140+
}
141+
}
142+
```
143+
126144
## Node properties
127145

128146
### `id`

0 commit comments

Comments
 (0)