1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-24 21:57:41 +00:00

doc: Fix spacing for translations (#3920)

Have added so additional spaces around the vuepress markers, `:::`, to
ensure that the don't get included in the line above and below and cause
formatting errors in the translated versions of the documentation.
This commit is contained in:
Thomas O'Donnell 2022-04-25 18:35:09 +02:00 committed by GitHub
parent 2a650bfd14
commit 5174c9a067
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -111,7 +111,9 @@ description: Starship is the minimal, blazing fast, and extremely customizable p
#### Elvish #### Elvish
::: warning ::: warning
Only elvish v0.18 or higher is supported. Only elvish v0.18 or higher is supported.
::: :::
Add the following to the end of `~/.elvish/rc.elv`: Add the following to the end of `~/.elvish/rc.elv`:
@ -135,9 +137,12 @@ description: Starship is the minimal, blazing fast, and extremely customizable p
#### Nushell #### Nushell
::: warning ::: warning
This will change in the future. This will change in the future.
Only Nushell v0.60+ is supported. Only Nushell v0.60+ is supported.
::: :::
Run the following: Run the following:
```sh ```sh
mkdir ~/.cache/starship mkdir ~/.cache/starship

View File

@ -1211,6 +1211,7 @@ The module will be shown only if any of the following conditions are met:
- The `variable` configuration option is not defined, but the `default` configuration option is - The `variable` configuration option is not defined, but the `default` configuration option is
::: tip ::: tip
Multiple environmental variables can be displayed by using a `.`. (see example) Multiple environmental variables can be displayed by using a `.`. (see example)
If the `variable` configuration option is not set, the module will display value of variable under the name of text after the `.` character. If the `variable` configuration option is not set, the module will display value of variable under the name of text after the `.` character.