Skip to content

Commit

Permalink
docs: fix new line
Browse files Browse the repository at this point in the history
  • Loading branch information
j178 committed Dec 28, 2024
1 parent 5c4974f commit f952219
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,9 @@ There are three ways to make cookies available to `leetgo`:
```

> [!TIP]
> You can specify which browser to read cookies from, e.g. `browsers: [chrome]`.
> You can specify multiple authentication methods, `leetgo` will try them in order, e.g. `from: [browser, cookies]`.
> You can put all the environment variables in a `.env` file in the project's root directory, `leetgo` will automatically read them.
> You can specify which browser to read cookies from, e.g. `browsers: [chrome]`.
> You can specify multiple authentication methods, `leetgo` will try them in order, e.g. `from: [browser, cookies]`.
> You can put all the environment variables in a `.env` file in the project's root directory, `leetgo` will automatically read them.

> [!NOTE]
> Password authentication is not recommended, and it is not supported by `leetcode.com`.
Expand Down
6 changes: 3 additions & 3 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,9 @@ editor:
```

> [!TIP]
> 你可以指定读取哪个浏览器的 Cookie,比如 `browsers: [chrome]`。
> 你可以指定多种方式,`leetgo` 会按照顺序尝试,比如 `from: [browser, cookies]`。
> 你可以将 `LEETCODE_XXX` 等环境变量放到项目根目录的 `.env` 文件中,`leetgo` 会自动读取这个文件。
> 你可以指定读取哪个浏览器的 Cookie,比如 `browsers: [chrome]`。
> 你可以指定多种方式,`leetgo` 会按照顺序尝试,比如 `from: [browser, cookies]`。
> 你可以将 `LEETCODE_XXX` 等环境变量放到项目根目录的 `.env` 文件中,`leetgo` 会自动读取这个文件。

> [!NOTE]
> 不推荐使用用户名密码的认证方式, 而且 `leetcode.com` (美国站) 也不支持用户名密码登录.
Expand Down

0 comments on commit f952219

Please sign in to comment.