[PR #20097] [CLOSED] Closes #20013: Syntax highlighting on Data Files #15824

Closed
opened 2025-12-30 00:24:15 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/20097
Author: @tobiasge
Created: 8/14/2025
Status: Closed

Base: featureHead: 20013-pygments-highlighter


📝 Commits (1)

📊 Changes

10 files changed (+629 additions, -2 deletions)

View changed files

📝 base_requirements.txt (+4 -0)
netbox/core/templatetags/__init__.py (+0 -0)
netbox/core/templatetags/highlight_code.py (+30 -0)
📝 netbox/project-static/dist/netbox.css (+1 -1)
📝 netbox/project-static/styles/netbox.scss (+4 -0)
netbox/project-static/styles/pygments/README.md (+33 -0)
netbox/project-static/styles/pygments/_dark.scss (+277 -0)
netbox/project-static/styles/pygments/_light.scss (+277 -0)
📝 netbox/templates/core/datafile.html (+2 -1)
📝 requirements.txt (+1 -0)

📄 Description

Fixes: #20013

Add syntax highlighting on the details page for Data Files.


🔄 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/netbox-community/netbox/pull/20097 **Author:** [@tobiasge](https://github.com/tobiasge) **Created:** 8/14/2025 **Status:** ❌ Closed **Base:** `feature` ← **Head:** `20013-pygments-highlighter` --- ### 📝 Commits (1) - [`80f42c8`](https://github.com/netbox-community/netbox/commit/80f42c8b2a8a9db6eaa409a7639b0bf5c73e8f72) Closes #20013: Syntax highlighting on Data Files ### 📊 Changes **10 files changed** (+629 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `base_requirements.txt` (+4 -0) ➕ `netbox/core/templatetags/__init__.py` (+0 -0) ➕ `netbox/core/templatetags/highlight_code.py` (+30 -0) 📝 `netbox/project-static/dist/netbox.css` (+1 -1) 📝 `netbox/project-static/styles/netbox.scss` (+4 -0) ➕ `netbox/project-static/styles/pygments/README.md` (+33 -0) ➕ `netbox/project-static/styles/pygments/_dark.scss` (+277 -0) ➕ `netbox/project-static/styles/pygments/_light.scss` (+277 -0) 📝 `netbox/templates/core/datafile.html` (+2 -1) 📝 `requirements.txt` (+1 -0) </details> ### 📄 Description ### Fixes: #20013 Add syntax highlighting on the details page for Data Files. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:24:15 +01:00
adam closed this issue 2025-12-30 00:24:16 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15824