Skip to content

Commit

Permalink
fix: toc for remark-cli usage incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Sep 1, 2019
1 parent 3ab2e0a commit 1735435
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
- [Usage](#usage)
- [Via config like `.remarkrc`](#via-config-like-remarkrc)
- [Via ESLint(recommended)](#via-eslintrecommended)
- [Via [remark-cli][]](#via-remark-cli)
- [Via remark-cli](#via-remark-cli)
- [Via Node API](#via-node-api)

## Disabled remark-lint plugins
Expand Down Expand Up @@ -116,7 +116,7 @@ Please use _[eslint-mdx][]_ which works perfectly with [ESLint][] and [Remark][]
}
```

### Via [remark-cli][]
### Via remark-cli

```sh
remark . --use preset-lint-consistent preset-lint-markdown-style-guide preset-lint-recommended preset-prettier
Expand Down Expand Up @@ -145,4 +145,3 @@ console.log(report(file))
[eslint]: https://eslint.org
[eslint-mdx]: https://github.com/rx-ts/eslint-mdx
[remark]: https://github.com/remarkjs/remark
[remark-cli]: https://github.com/remarkjs/remark/tree/master/packages/remark-cli
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "remark-preset-prettier",
"version": "0.1.0",
"version": "0.1.1",
"description": "Turns off all rules that are unnecessary or might conflict with Prettier.",
"repository": "git@github.com:JounQin/remark-preset-prettier.git",
"author": "JounQin <admin@1stg.me>",
Expand Down

0 comments on commit 1735435

Please sign in to comment.