casey / casey/just

Clickable URL escape sequence

Open
#3,089 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
35.8k
Forks
846
Avg merge
27m
Merged PRs (30d)
3

Description

I'm trying to print a URL that is clickable, but I couldn't manage to echo the escape sequences to make it work.

For example:
```just
start_mail:
echo ⚙️ {{CYAN}} Starting {{BOLD+INVERT}} mailhog {{NORMAL}}
podman-compose start mail
echo ✅ {{BLUE}}Mailhog console available on {{UNDERLINE}}http://127.0.0.1:8025/{{NORMAL}}
```

I've used `{{UNDERLINE}}` in this example.

This is what I'm trying to achieve: [How I Turned Terminal Output into Clickable Links](https://www.timsanteford.com/posts/how-i-turned-terminal-output-into-clickable-links/)

_NB: zsh on macOS_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.