diff options
author | Kid <44045911+kidonng@users.noreply.github.com> | 2021-07-20 02:30:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-19 20:30:24 +0200 |
commit | b041adf4dcb67ac3837d2e836cd3babc3f261e9b (patch) | |
tree | 14e864f76e1eb5484ee5d936d6a1c327cc11b4e4 /docs | |
parent | 6271db49627298066788054b72ebd2290486d10c (diff) |
docs(preset): add Hide Runtime Versions preset (#2854)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/.vuepress/public/presets/hide-runtime-versions.png | bin | 0 -> 24353 bytes | |||
-rw-r--r-- | docs/presets/README.md | 91 |
2 files changed, 91 insertions, 0 deletions
diff --git a/docs/.vuepress/public/presets/hide-runtime-versions.png b/docs/.vuepress/public/presets/hide-runtime-versions.png Binary files differnew file mode 100644 index 000000000..4753d11e0 --- /dev/null +++ b/docs/.vuepress/public/presets/hide-runtime-versions.png diff --git a/docs/presets/README.md b/docs/presets/README.md index 91229393f..6bc1362df 100644 --- a/docs/presets/README.md +++ b/docs/presets/README.md @@ -366,3 +366,94 @@ symbol = "scala " [swift] symbol = "swift " ``` + +## Hide Runtime Versions + +This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you! + +![Screenshot of Hide Runtime Versions preset](/presets/hide-runtime-versions.png) + +### Configuration + +```toml +[cmake] +format = "via [$symbol]($style)" + +[crystal] +format = "via [$symbol]($style)" + +[dart] +format = "via [$symbol]($style)" + +[deno] +format = "via [$symbol]($style)" + +[dotnet] +format = "[$symbol(🎯 $tfm )]($style)" + +[elixir] +format = 'via [$symbol]($style)' + +[elm] +format = 'via [$symbol]($style)' + +[erlang] +format = 'via [$symbol]($style)' + +[golang] +format = 'via [$symbol]($style)' + +[helm] +format = 'via [$symbol]($style)' + +[julia] +format = 'via [$symbol]($style)' + +[kotlin] +format = 'via [$symbol]($style)' + +[lua] +format = 'via [$symbol]($style)' + +[nim] +format = 'via [$symbol]($style)' + +[nodejs] +format = 'via [$symbol]($style)' + +[ocaml] +format = 'via [$symbol(\($switch_indicator$switch_name\) )]($style)' + +[perl] +format = 'via [$symbol]($style)' + +[php] +format = 'via [$symbol]($style)' + +[purescript] +format = 'via [$symbol]($style)' + +[red] +format = 'via [$symbol]($style)' + +[rlang] +format = 'via [$symbol]($style)' + +[ruby] +format = 'via [$symbol]($style)' + +[rust] +format = 'via [$symbol]($style)' + +[swift] +format = 'via [$symbol]($style)' + +[vagrant] +format = 'via [$symbol]($style)' + +[vlang] +format = 'via [$symbol]($style)' + +[zig] +format = 'via [$symbol]($style)' +``` |