Click on the options menu on line 3 and select "Copy Permalink"
The copied link would look like this https://github.com/integrations/slack/blob/27299d5d03d159d42383031439a58afe351380e6/.github/settings.yml#LL3C1-L3C11
Paste this in a Slack channel.
Observe that the preview does show up for this line.
Describe the solution you'd like
Pasting permalinks with character range selection format such as #LL3C1-L3C11 should preview the selected line. It would be ideal to somehow highlight the selected character range, but it's perhaps not feasible to implement in slack.
Problem:
GitHub changes the permalink if a range of characters is selected.
For example:
https://github.com/integrations/slack/blob/27299d5d03d159d42383031439a58afe351380e6/.github/settings.yml#LL3C1-L3C11
https://github.com/integrations/slack/blob/27299d5d03d159d42383031439a58afe351380e6/.github/settings.yml#L3
Describe the solution you'd like Pasting permalinks with character range selection format such as
#LL3C1-L3C11
should preview the selected line. It would be ideal to somehow highlight the selected character range, but it's perhaps not feasible to implement in slack.Describe alternatives you've considered None
Additional context None