是否可以在Gitlab中禁用.txt文件的语法突出显示功能? [英] Is it possible to disable syntax highlighting for .txt files in Gitlab?
问题描述
我想在Gitlab中禁用语法突出显示并启用.txt文件的软包装.能做到吗?
I'd like to disable syntax highlighting and enable (if possible) soft wrapping for .txt files in Gitlab. Can this be done?
推荐答案
禁用语法突出显示:似乎不是: https://github.com/gitlabhq/gitlabhq/issues/8404
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
软包装:不可能.最近已针对合并请求实施了该操作: http://feedback.gitlab.com/forums/176466-general/suggestions/5004385-wrap-lines-option-in-the-merge-request ,但没有充分考虑到因素也无法适用到孤立的斑点.
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.
我建议在以下两个位置同时打开功能请求: http://feedback.gitlab.com .
I recommend opening feature requests at: http://feedback.gitlab.com for both.
这篇关于是否可以在Gitlab中禁用.txt文件的语法突出显示功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!