Skip to content

Show table links inline in markdown when hyperlinks are inline - #369

Merged
CLHatch merged 1 commit into
mainfrom
markdown-inline-table-links
Nov 27, 2026
Merged

CLHatch merged 1 commit into
mainfrom
markdown-inline-table-links

Conversation

@CLHatch

@CLHatch CLHatch commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

With markdown_hyperlinks = "inline", links in prose were clickable labels with the URL hidden, as the setting describes ("Underlined clickable text, URL hidden"). Links in tables didn't follow it: glamour still gave each one a reference number and printed a list of the URLs under the table.

--man and the help dialog's doc page now pass glamour's WithInlineTableLinks in inline mode, so table links are clickable labels too, with no reference numbers or URL list. auto and off are unchanged, since printing destinations is the point of those modes. The option is already in the glamour version DS2 uses.

This matches what glow's draft PR charmbracelet/glow#1095 (--inline-links) does for its own inline mode.

Confirmed live on a Linux test host: the watchtower doc's notification-services table (Discord, Email, Pushover…) renders its links as labels, with no reference numbers or URL list under it.

With markdown_hyperlinks = "inline", links in prose were clickable labels
with the URL hidden, but links in tables still got reference numbers and
a URL list under the table. --man and the help dialog's doc page now pass
glamour's WithInlineTableLinks in inline mode, so tables match the
setting's description. Auto and off are unchanged.
@sourcery-ai

sourcery-ai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Sorry @CLHatch, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 2 days and 8 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@CLHatch
CLHatch merged commit 0aa0a62 into main Nov 27, 2026
6 checks passed
@CLHatch
CLHatch deleted the markdown-inline-table-links branch November 27, 2026 22:01
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