casey / just

🤖 Just a command runner
https://just.systems
Creative Commons Zero v1.0 Universal
19.96k stars 448 forks source link

`just --list` should highlight parts of the comment surrounded by backticks (`) #2272

Open nyurik opened 1 month ago

nyurik commented 1 month ago

If a recipe uses backticks in the description comment, I think it would be helpful to the users to show that content in a different color:

# run command with docker, e.g. `just docker bazel build //:mbgl-core`, or open docker shell with `just docker`
docker *ARGS:
    docker run --rm -it -v "$PWD:/app/" -v "$PWD/docker/.cache:/home/user/.cache" maplibre-native-image {{ARGS}}

When using just --list, the above should be shown something like this (probably with better color choices):

image

casey commented 1 month ago

This seems like a good idea to me!