Reputation: 389
I'd like to disable syntax highlighting and enable (if possible) soft wrapping for .txt files in Gitlab. Can this be done?
Upvotes: 3
Views: 854
Reputation: 382672
Disable syntax highlight: seems not: https://github.com/gitlabhq/gitlabhq/issues/8404
Similar problem for code blocks in markdown: http://feedback.gitlab.com/forums/176466-general/suggestions/6571399-don-t-guess-rendered-code-block-filetype-and-rende
Soft wrapping: not possible. It has been recently implemented for merge requests: http://feedback.gitlab.com/forums/176466-general/suggestions/5004385-wrap-lines-option-in-the-merge-request but was not well factored enough to also apply to isolated blobs.
I recommend opening feature requests at: http://feedback.gitlab.com for both.
Upvotes: 3