casey / just

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

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

Open nyurik opened 3 months ago

nyurik commented 3 months 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 3 months ago

This seems like a good idea to me!