是否可以在Gitlab中禁用.txt文件的语法突出显示功能? [英] Is it possible to disable syntax highlighting for .txt files in Gitlab?

查看:84
本文介绍了是否可以在Gitlab中禁用.txt文件的语法突出显示功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆