Skip to content

Commit

Permalink
docs: change API key setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Massolari committed Mar 5, 2024
1 parent dfd8c85 commit 0097887
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,7 @@ First, you need to generate an API key for the DEV platform.

For dev.to, you can do it in [the end of the extension's page](https://dev.to/settings/extensions)

With your API key, you need to pass it in the `setup` function:

```lua
require'forem-nvim'.setup {
api_key = "" -- Your API Key
}
```
With your API key, you just need to set it into the `FOREM_API_KEY` environment variable.

## Usage

Expand Down

0 comments on commit 0097887

Please sign in to comment.