>
>
>
> Warning
>
>
>
> This setting has the potential to leak confidential code into public channels in cases where users with access to private GitLab repositories post permalinks in public Mattermost channels. The plugin automatically generates previews using the poster's GitLab permissions, allowing other channel members without access to view the confidential code.
>
>
>
> - **Disable**: Completely disables code preview functionality.
>
> **Supported Permalink Types:**
>
> - Single line permalinks: Shows target line plus 3 lines of context
> - File permalinks: Shows file information (no code preview)
> - Line range permalinks: Shows file information (no code preview)
>
> **Preview Limits:**
>
> - Maximum 10 lines displayed per preview (single line permalinks may show fewer preview lines due to context limits)