【问题标题】:Is it possible to disable syntax highlighting for .txt files in Gitlab?是否可以在 Gitlab 中禁用 .txt 文件的语法突出显示?
【发布时间】:2014-12-05 15:56:48
【问题描述】:

我想在 Gitlab 中禁用语法高亮并启用(如果可能)软包装 .txt 文件。这个可以吗?

【问题讨论】:

    标签: gitlab


    【解决方案1】:

    禁用语法高亮:似乎不是:https://github.com/gitlabhq/gitlabhq/issues/8404

    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,但没有充分考虑到也适用于孤立的 blob。

    我建议在http://feedback.gitlab.com 为两者打开功能请求。

    【讨论】:

    • 非常感谢您的回复和建议!我会这样做的。
    猜你喜欢
    • 2015-02-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多