Skip to content

Commit bc09364

Browse files
committed
Fix typos
1 parent 1d5cbf5 commit bc09364

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

changelog.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function rehypePluginAddingIndex() {
124124

125125
When overwriting components, these props are no longer passed:
126126

127-
* `inline` on `code`:
127+
* `inline` on `code`
128128
— create a plugin or use `pre` for the block
129129
* `level` on `h1`, `h2`, `h3`, `h4`, `h5`, `h6`
130130
— check `node.tagName` instead

readme.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ ReactDom.render(<Markdown>{markdown}</Markdown>, document.body)
136136

137137
</details>
138138

139-
Here is an example that shows passing the markdown as a string and how
140-
to use a plugin ([`remark-gfm`][remark-gfm], which adds support for
141-
footnotes, strikethrough, tables, tasklists and URLs directly):
139+
Here is an example that shows how to use a plugin ([`remark-gfm`][remark-gfm],
140+
which adds support for footnotes, strikethrough, tables, tasklists and URLs
141+
directly):
142142

143143
```jsx
144144
import React from 'react'
@@ -685,7 +685,7 @@ const markdown = `
685685
`
686686
687687
// Pass the value as an expresion as an only child:
688-
<Markdown>{markdown}</Markdown>
688+
const result = <Markdown>{markdown}</Markdown>
689689
```
690690

691691
👆 That works.

0 commit comments

Comments
 (0)