1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-24 13:47:38 +00:00

docs: format markdown (#2493)

Remove trailing whitespace and extra newlines.
This commit is contained in:
Dario Vladović 2021-03-24 21:44:52 +01:00 committed by GitHub
parent dde61f5cf3
commit 4375517d9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 9 deletions

View File

@ -90,7 +90,7 @@
alt="简体中文"
/></a>
&nbsp;
<a
<a
href="https://github.com/starship/starship/blob/master/docs/es-ES/guide/README.md"
><img
height="20"
@ -98,7 +98,7 @@
alt="Español"
/></a>
&nbsp;
<a
<a
href="https://github.com/starship/starship/blob/master/docs/fr-FR/guide/README.md"
><img
height="20"
@ -106,7 +106,7 @@
alt="Français"
/></a>
&nbsp;
<a
<a
href="https://github.com/starship/starship/blob/master/docs/vi-VN/guide/README.md"
><img
height="20"

View File

@ -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. |
| `disabled` | `false` | Disables the `battery` module. |
### Example
```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. |
| `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 |
| -------- | ---------- | ------------------------------------ |
@ -2167,7 +2166,6 @@ Python version 2, see example below.
| pyenv_prefix | `"pyenv "` | Mirrors the value of option `pyenv_prefix` |
| virtualenv | `"venv"` | The current `virtualenv` name |
### Example
```toml
@ -2273,7 +2271,6 @@ The module will be shown if any of the following conditions are met:
format = "via [⚙️ $version](red bold)"
```
## 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
| Option | Default | Description |
| ------------------- | -------------------------------------------| ----------------------------------------------- |
| `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 = "🌟 "
```
## 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. |
### Examples
```toml
# ~/.config/starship.toml