Is it possible to disable syntax highlighting for .txt files in Gitlab?

喜欢而已 提交于 2019-12-10 21:27:49

问题


I'd like to disable syntax highlighting and enable (if possible) soft wrapping for .txt files in Gitlab. Can this be done?


回答1:


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.



来源:https://stackoverflow.com/questions/27304769/is-it-possible-to-disable-syntax-highlighting-for-txt-files-in-gitlab

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!