diff --git a/docs/.vuepress/public/presets/hide-runtime-versions.png b/docs/.vuepress/public/presets/hide-runtime-versions.png new file mode 100644 index 00000000..4753d11e Binary files /dev/null and b/docs/.vuepress/public/presets/hide-runtime-versions.png differ diff --git a/docs/presets/README.md b/docs/presets/README.md index 91229393..6bc1362d 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)' +```