[PR #357] [MERGED] Add better code-block hightlighting and styles #3316

Closed
opened 2026-02-22 18:33:32 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/357
Author: @timothycarambat
Created: 11/10/2023
Status: Merged
Merged: 11/10/2023
Merged by: @timothycarambat

Base: masterHead: better-codeblocks


📝 Commits (2)

  • 27ab6c7 Add better code-block hightlighting and styles
  • e4bf4c9 add fallback class

📊 Changes

3 files changed (+25 additions, -4 deletions)

View changed files

📝 frontend/package.json (+1 -0)
📝 frontend/src/utils/chat/markdown.js (+19 -4)
📝 frontend/yarn.lock (+5 -0)

📄 Description

Revise code block syntax highlighting for better UI

  • Has no impact on long form text styles.
Screen Shot 2023-11-10 at 4 24 41 PM Screen Shot 2023-11-10 at 4 24 47 PM Screen Shot 2023-11-10 at 4 24 52 PM

🔄 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/Mintplex-Labs/anything-llm/pull/357 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 11/10/2023 **Status:** ✅ Merged **Merged:** 11/10/2023 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `better-codeblocks` --- ### 📝 Commits (2) - [`27ab6c7`](https://github.com/Mintplex-Labs/anything-llm/commit/27ab6c71b79534d0fc941e382b29f1a70298190d) Add better code-block hightlighting and styles - [`e4bf4c9`](https://github.com/Mintplex-Labs/anything-llm/commit/e4bf4c9fbf1a25d0fecfcfce9aa2fb25294ef1cd) add fallback class ### 📊 Changes **3 files changed** (+25 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `frontend/package.json` (+1 -0) 📝 `frontend/src/utils/chat/markdown.js` (+19 -4) 📝 `frontend/yarn.lock` (+5 -0) </details> ### 📄 Description Revise code block syntax highlighting for better UI - Has no impact on long form text styles. <img width="861" alt="Screen Shot 2023-11-10 at 4 24 41 PM" src="https://github.com/Mintplex-Labs/anything-llm/assets/16845892/c5220dee-e3d3-4275-bfb6-e9e462ce776d"> <img width="789" alt="Screen Shot 2023-11-10 at 4 24 47 PM" src="https://github.com/Mintplex-Labs/anything-llm/assets/16845892/5d462169-f369-46d0-9d99-d63948474711"> <img width="926" alt="Screen Shot 2023-11-10 at 4 24 52 PM" src="https://github.com/Mintplex-Labs/anything-llm/assets/16845892/7dcd8d98-30e4-46bf-ad33-1d96363b777a"> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:33:32 -05:00
yindo closed this issue 2026-02-22 18:33:32 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3316