removed weird syntax highlighting and fixed linting errors (#224)

removed weird syntax highlighting and fixed linting errors

Co-authored-by: crapStone <crapstone01@gmail.com>
Reviewed-on: https://gitea.com/gitea/tea/pulls/224
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Co-Authored-By: crapStone <crapstone@noreply.gitea.io>
Co-Committed-By: crapStone <crapstone@noreply.gitea.io>
This commit is contained in:
crapStone 2020-10-20 10:47:31 +08:00 committed by Lunny Xiao
parent 6ea331ce3b
commit a0330a3fb2
1 changed files with 4 additions and 5 deletions

View File

@ -13,14 +13,13 @@ It uses [code.gitea.io/sdk](https://code.gitea.io/sdk) and interacts with the Gi
You can use the prebuilt binaries from [dl.gitea.io](https://dl.gitea.io/tea/) You can use the prebuilt binaries from [dl.gitea.io](https://dl.gitea.io/tea/)
To install from source, go 1.13 or newer is required: To install from source, go 1.13 or newer is required:
```sh ```sh
go get code.gitea.io/tea go get code.gitea.io/tea
go install code.gitea.io/tea go install code.gitea.io/tea
``` ```
If you have `brew` installed, you can install `tea` via: If you have `brew` installed, you can install `tea` via:
```sh ```sh
@ -42,7 +41,7 @@ tea login add --name=try --url=https://try.gitea.io --token=xxxxxx
Now you can use the following `tea` subcommands. Now you can use the following `tea` subcommands.
Detailed usage information is available via `tea <command> --help`. Detailed usage information is available via `tea <command> --help`.
```sh ```none
login Log in to a Gitea server login Log in to a Gitea server
logout Log out from a Gitea server logout Log out from a Gitea server
issues List, create and update issues issues List, create and update issues
@ -79,8 +78,8 @@ Fork -> Patch -> Push -> Pull Request
## Authors ## Authors
* [Maintainers](https://github.com/orgs/go-gitea/people) - [Maintainers](https://github.com/orgs/go-gitea/people)
* [Contributors](https://github.com/go-gitea/tea/graphs/contributors) - [Contributors](https://github.com/go-gitea/tea/graphs/contributors)
## License ## License