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

🔗 Improve link formatting #1684

Merged
merged 1 commit into from
Nov 28, 2024
Merged

🔗 Improve link formatting #1684

merged 1 commit into from
Nov 28, 2024

Conversation

rowanc1
Copy link
Member

@rowanc1 rowanc1 commented Nov 28, 2024

No hanging single characters on a link.

We put <wbr/> in HTML so that long URLs wrap at nice places. This wrapped and is especially noticeable in links ending with slash mystmd.org/, and then the slash would be on the next line alone.

This ensures that it needs at least three characters at the end before breaking the URL.

No hanging single characters on a link
Copy link

changeset-bot bot commented Nov 28, 2024

🦋 Changeset detected

Latest commit: 1d2bb4f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
myst-transforms Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@rowanc1 rowanc1 merged commit 3aa40b0 into main Nov 28, 2024
7 checks passed
@rowanc1 rowanc1 deleted the feat/link-formating branch November 28, 2024 22:54
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

Successfully merging this pull request may close these issues.

1 participant