summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDario Vladović <d.vladimyr@gmail.com>2021-03-24 21:44:52 +0100
committerGitHub <noreply@github.com>2021-03-24 21:44:52 +0100
commit4375517d9a3fb88266cdeda0d3d4406217ff3444 (patch)
treec3e4b128bff67ad9d56b36c192ad9cbade609d18 /docs
parentdde61f5cf34ee3ea0a59b84720fb82609e409ce7 (diff)
docs: format markdown (#2493)
Remove trailing whitespace and extra newlines.
Diffstat (limited to 'docs')
-rw-r--r--docs/config/README.md8
1 files changed, 2 insertions, 6 deletions
diff --git a/docs/config/README.md b/docs/config/README.md
index 511b24596..8a8e6b888 100644
--- a/docs/config/README.md
+++ b/docs/config/README.md
@@ -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