Expandable And Linkified Text

Clamp long text to a few lines with a more/less affordance driven by measured overflow instead of a character count, and make timestamps or URLs inside the same text tappable. Use when "more" shows on text that already fits, never shows on text that does not, gets truncated along with the text, or when tapping a link expands the block instead of following the link.

maxrave-dev 20d92fd 6.9 KB Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/expandable-and-linkified-text commit 20d92fdf2e

Frequently asked questions

npx skillmds@latest add maxrave-dev/expandable-and-linkified-text