Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nyurik opened this issue Jul 24, 2024 · 1 comment

Comments

@nyurik
Copy link
Contributor

nyurik commented Jul 24, 2024

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
Copy link
Owner

casey commented Jul 24, 2024

This seems like a good idea to me!

neunenak added a commit to neunenak/just that referenced this issue Oct 9, 2024
neunenak added a commit to neunenak/just that referenced this issue Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants