[PR #1922] [MERGED] No highlighting for .txt files #16120

Closed
opened 2025-11-02 12:02:46 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1922
Author: @ethantkoenig
Created: 6/9/2017
Status: Merged
Merged: 6/10/2017
Merged by: @appleboy

Base: masterHead: fix/plaintext_highlight


📝 Commits (1)

  • ed07803 No highlighting for .txt files

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 modules/highlight/highlight.go (+3 -1)

📄 Description

Before (https://try.gitea.io/ethantkoenig/sandbox/src/master/text.txt):

image

After:

image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/1922 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 6/9/2017 **Status:** ✅ Merged **Merged:** 6/10/2017 **Merged by:** [@appleboy](https://github.com/appleboy) **Base:** `master` ← **Head:** `fix/plaintext_highlight` --- ### 📝 Commits (1) - [`ed07803`](https://github.com/go-gitea/gitea/commit/ed078032e7d59ddb3502079df5847d5c077f68cb) No highlighting for .txt files ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `modules/highlight/highlight.go` (+3 -1) </details> ### 📄 Description Before (https://try.gitea.io/ethantkoenig/sandbox/src/master/text.txt): ![image](https://user-images.githubusercontent.com/8990880/26988043-d6cdd5d4-4d1b-11e7-9047-be75966ca4fe.png) After: ![image](https://user-images.githubusercontent.com/8990880/26988099-fed930dc-4d1b-11e7-9f55-e709e4c50f0e.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:02:46 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16120