Skip to content

Commit

Permalink
docs: wrong keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
Val-istar-Guo committed Jun 26, 2022
1 parent 09bcdb5 commit 9f79213
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This package is ESM only: Node 12+ and [unified 10](https://www.npmjs.com/packag

```typescript
import { unified } from 'unified'
import rehyper from 'rehyper'
import rehype from 'rehype'
import remarkParse from 'remark-parse'
import remarkRehype from 'remark-rehype'
import rehypePrism from 'rehype-prism'
Expand All @@ -46,7 +46,7 @@ unified()
.parse(/* markstring string */)

// parse code block in html string
rehyper()
rehype()
.use(rehypePrism)
.use(rehypeStringify)
.parse(/* html string */)
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"url": "git+https://github.com/Val-istar-Guo/rehype-prism.git"
},
"keywords": [
"rehype",
"rehyper",
"prism",
"highlight",
Expand All @@ -44,7 +45,8 @@
"remark",
"highlighting",
"syntax",
"syntax-highlighting plugin"
"syntax-highlighting",
"plugin"
],
"author": "Val-istar-Guo <val.istar.guo@gmail.com>",
"license": "MIT",
Expand Down

0 comments on commit 9f79213

Please sign in to comment.