Allow viewing MD files in GitLab
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3586902. --> Reported by: [kristen pol](https://www.drupal.org/user/8389) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Pasted from Slack:</p> <pre>I don't think there's anything the infra team can do here but double checking<br><br>We use MD files a lot with the AI initiative issues<br><br>Unfortunately, if you click on an attached MD file on an issue, it wants you to download it<br><br>It would be much better to allow viewing of the MD file<br><br>I'm assuming changing this won't be possible, right?<br><br>I guess we could rename to .md.txt?</pre><p>Here's an example:</p> <p><a href="https://git.drupalcode.org/project/ai_context/-/work_items/3586147">https://git.drupalcode.org/project/ai_context/-/work_items/3586147</a><br> <a href="https://git.drupalcode.org/-/project/191993/uploads/bdc9625673e049cdd31d2f0653de3ccd/ai-context-naming-dx-review.md">https://git.drupalcode.org/-/project/191993/uploads/bdc9625673e049cdd31d2f0653de3ccd/ai-context-naming-dx-review.md</a></p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <ul> <li>Create a GitLab issue and attach an MD file</li> <li>Afterwards, it makes you download it rather than view it in the browser</li> </ul> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>drumm wrote in slack:</p> <blockquote><p> File an infrastructure issue, include a link to an issue with a MD file. We may be able to alter the response headers. </p></blockquote> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>TBD</p> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3>
issue