[go: up one dir, main page]

Skip to content

Preview .patch file links in markdown comment

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

If someone attaches a patch file to a comment, it'd be handy to be able to preview it inline. If I am reading comments (example) and want to quickly see what's in the patch, currently I have to download it and open in text editor, and later delete the file.

Proposal

Add a Preview button next to links to .patch files. On click, download file contents and display in a code block with diff syntax highlighting

Edited by 🤖 GitLab Bot 🤖