mirror of
https://github.com/starship/starship.git
synced 2025-01-23 14:50:47 +01:00
docs: format markdown (#2493)
Remove trailing whitespace and extra newlines.
This commit is contained in:
parent
dde61f5cf3
commit
4375517d9a
@ -90,7 +90,7 @@
|
|||||||
alt="简体中文"
|
alt="简体中文"
|
||||||
/></a>
|
/></a>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="https://github.com/starship/starship/blob/master/docs/es-ES/guide/README.md"
|
href="https://github.com/starship/starship/blob/master/docs/es-ES/guide/README.md"
|
||||||
><img
|
><img
|
||||||
height="20"
|
height="20"
|
||||||
@ -98,7 +98,7 @@
|
|||||||
alt="Español"
|
alt="Español"
|
||||||
/></a>
|
/></a>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="https://github.com/starship/starship/blob/master/docs/fr-FR/guide/README.md"
|
href="https://github.com/starship/starship/blob/master/docs/fr-FR/guide/README.md"
|
||||||
><img
|
><img
|
||||||
height="20"
|
height="20"
|
||||||
@ -106,7 +106,7 @@
|
|||||||
alt="Français"
|
alt="Français"
|
||||||
/></a>
|
/></a>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="https://github.com/starship/starship/blob/master/docs/vi-VN/guide/README.md"
|
href="https://github.com/starship/starship/blob/master/docs/vi-VN/guide/README.md"
|
||||||
><img
|
><img
|
||||||
height="20"
|
height="20"
|
||||||
|
@ -333,7 +333,6 @@ The module is only visible when the device's battery is below 10%.
|
|||||||
| `display` | [link](#battery-display) | Display threshold and style for the module. |
|
| `display` | [link](#battery-display) | Display threshold and style for the module. |
|
||||||
| `disabled` | `false` | Disables the `battery` module. |
|
| `disabled` | `false` | Disables the `battery` module. |
|
||||||
|
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
@ -1832,7 +1831,7 @@ By default the module will be shown if any of the following conditions are met:
|
|||||||
| `disabled` | `false` | Disables the `nodejs` module. |
|
| `disabled` | `false` | Disables the `nodejs` module. |
|
||||||
| `not_capable_style` | `bold red` | The style for the module when an engines property in `package.json` does not match the NodeJS version. |
|
| `not_capable_style` | `bold red` | The style for the module when an engines property in `package.json` does not match the NodeJS version. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
| Variable | Example | Description |
|
| Variable | Example | Description |
|
||||||
| -------- | ---------- | ------------------------------------ |
|
| -------- | ---------- | ------------------------------------ |
|
||||||
@ -2167,7 +2166,6 @@ Python version 2, see example below.
|
|||||||
| pyenv_prefix | `"pyenv "` | Mirrors the value of option `pyenv_prefix` |
|
| pyenv_prefix | `"pyenv "` | Mirrors the value of option `pyenv_prefix` |
|
||||||
| virtualenv | `"venv"` | The current `virtualenv` name |
|
| virtualenv | `"venv"` | The current `virtualenv` name |
|
||||||
|
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
@ -2273,7 +2271,6 @@ The module will be shown if any of the following conditions are met:
|
|||||||
format = "via [⚙️ $version](red bold)"
|
format = "via [⚙️ $version](red bold)"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Scala
|
## Scala
|
||||||
|
|
||||||
The `scala` module shows the currently installed version of Scala.
|
The `scala` module shows the currently installed version of Scala.
|
||||||
@ -2285,7 +2282,6 @@ By default the module will be shown if any of the following conditions are met:
|
|||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| ------------------- | -------------------------------------------| ----------------------------------------------- |
|
| ------------------- | -------------------------------------------| ----------------------------------------------- |
|
||||||
| `format` | `"via [${symbol}(${version} )]($style)"` | The format for the module. |
|
| `format` | `"via [${symbol}(${version} )]($style)"` | The format for the module. |
|
||||||
@ -2315,7 +2311,6 @@ By default the module will be shown if any of the following conditions are met:
|
|||||||
symbol = "🌟 "
|
symbol = "🌟 "
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Shell
|
## Shell
|
||||||
|
|
||||||
The `shell` module shows an indicator for currently used shell.
|
The `shell` module shows an indicator for currently used shell.
|
||||||
@ -2348,6 +2343,7 @@ To enable it, set `disabled` to `false` in your configuration file.
|
|||||||
| indicator | | Mirrors the value of `indicator` for currently used shell. |
|
| indicator | | Mirrors the value of `indicator` for currently used shell. |
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
# ~/.config/starship.toml
|
# ~/.config/starship.toml
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user