fix: Fixed "Click to download TOML" links (#6234)

* fix: Added {download} attribute to download links

* fix: Reverted the changes to translated files

* fix: Reverted changes to translated files

---------

Co-authored-by: Zaira Bibi <zaira.bibi@A006-01279.local>
This commit is contained in:
Zaira Bibi 2024-09-12 13:38:04 +05:00 committed by GitHub
parent 62822097e7
commit 0200d75b37
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 11 additions and 11 deletions

View File

@ -13,6 +13,6 @@ in brackets instead of using the default Starship wording ("via", "on", etc.).
starship preset bracketed-segments -o ~/.config/starship.toml
```
[Click to download TOML](/presets/toml/bracketed-segments.toml)
[Click to download TOML](/presets/toml/bracketed-segments.toml){download}
<<< @/public/presets/toml/bracketed-segments.toml

View File

@ -16,6 +16,6 @@ This preset is heavily inspired by [Pastel Powerline](./pastel-powerline.md), an
starship preset gruvbox-rainbow -o ~/.config/starship.toml
```
[Click to download TOML](/presets/toml/gruvbox-rainbow.toml)
[Click to download TOML](/presets/toml/gruvbox-rainbow.toml){download}
<<< @/public/presets/toml/gruvbox-rainbow.toml

View File

@ -19,6 +19,6 @@ This is a pseudo minimalist preset inspired by the [geometry](https://github.com
starship preset jetpack -o ~/.config/starship.toml
```
[Click to download TOML](/presets/toml/jetpack.toml)
[Click to download TOML](/presets/toml/jetpack.toml){download}
<<< @/public/presets/toml/jetpack.toml

View File

@ -16,6 +16,6 @@ This preset changes the symbols for each module to use Nerd Font symbols.
starship preset nerd-font-symbols -o ~/.config/starship.toml
```
[Click to download TOML](/presets/toml/nerd-font-symbols.toml)
[Click to download TOML](/presets/toml/nerd-font-symbols.toml){download}
<<< @/public/presets/toml/nerd-font-symbols.toml

View File

@ -12,6 +12,6 @@ If toolset files are identified the toolset icon is displayed. If the toolset is
starship preset no-empty-icons -o ~/.config/starship.toml
```
[Click to download TOML](/presets/toml/no-empty-icons.toml)
[Click to download TOML](/presets/toml/no-empty-icons.toml){download}
<<< @/public/presets/toml/no-empty-icons.toml

View File

@ -15,6 +15,6 @@ This preset will become the default preset in a future release of starship.
starship preset no-nerd-font -o ~/.config/starship.toml
```
[Click to download TOML](/presets/toml/no-nerd-font.toml)
[Click to download TOML](/presets/toml/no-nerd-font.toml){download}
<<< @/public/presets/toml/no-nerd-font.toml

View File

@ -12,6 +12,6 @@ This preset hides the version of language runtimes. If you work in containers or
starship preset no-runtime-versions -o ~/.config/starship.toml
```
[Click to download TOML](/presets/toml/no-runtime-versions.toml)
[Click to download TOML](/presets/toml/no-runtime-versions.toml){download}
<<< @/public/presets/toml/no-runtime-versions.toml

View File

@ -17,6 +17,6 @@ It also shows how path substitution works in starship.
starship preset pastel-powerline -o ~/.config/starship.toml
```
[Click to download TOML](/presets/toml/pastel-powerline.toml)
[Click to download TOML](/presets/toml/pastel-powerline.toml){download}
<<< @/public/presets/toml/pastel-powerline.toml

View File

@ -13,6 +13,6 @@ don't have access to Unicode.
starship preset plain-text-symbols -o ~/.config/starship.toml
```
[Click to download TOML](/presets/toml/plain-text-symbols.toml)
[Click to download TOML](/presets/toml/plain-text-symbols.toml){download}
<<< @/public/presets/toml/plain-text-symbols.toml

View File

@ -12,6 +12,6 @@ This preset emulates the look and behavior of [Pure](https://github.com/sindreso
starship preset pure-preset -o ~/.config/starship.toml
```
[Click to download TOML](/presets/toml/pure-preset.toml)
[Click to download TOML](/presets/toml/pure-preset.toml){download}
<<< @/public/presets/toml/pure-preset.toml

View File

@ -16,6 +16,6 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t
starship preset tokyo-night -o ~/.config/starship.toml
```
[Click to download TOML](/presets/toml/tokyo-night.toml)
[Click to download TOML](/presets/toml/tokyo-night.toml){download}
<<< @/public/presets/toml/tokyo-night.toml