Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Improve image links #149

Merged
merged 6 commits into from
Jul 3, 2020
Merged

Improve image links #149

merged 6 commits into from
Jul 3, 2020

Conversation

swsnr
Copy link
Owner

@swsnr swsnr commented Jun 16, 2020

No description provided.

@swsnr swsnr added the enhancement New feature or request label Jun 16, 2020
@swsnr swsnr added this to the 1.0.0 milestone Jun 16, 2020
@swsnr swsnr self-assigned this Jun 16, 2020
@swsnr swsnr changed the base branch from master to main June 22, 2020 18:33
Make image links stand out and yet be different from regular links.

Closes GH-140
swsnr added 5 commits June 22, 2020 20:46
mdcat used to send the entire URL to iterm2 as file name, but I seem to
have misunderstood the inline images protocol of iterm2 here.  The
protocol seems toimply that the filename is really just the name of a
file.
Do not use purple colour for images inside inline links, to clarify that
the link always points to the link target and not to the image.

Keep purple colour for the image link reference however.
If the terminal doesn't support inline images we try to render the link
as inline link if the terminal supports it and the link isn't nested.

Closes GH-141
@swsnr swsnr marked this pull request as ready for review July 3, 2020 08:09
@swsnr swsnr merged commit 0e126f2 into main Jul 3, 2020
@swsnr swsnr deleted the image-links branch July 3, 2020 08:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant