From 7cd46337a32409cf5f27855b224eef6a4219c5bd Mon Sep 17 00:00:00 2001
From: Levi Neely <141506390+lneely@users.noreply.github.com>
Date: Thu, 16 Jul 2026 07:04:46 +0200
Subject: [PATCH] render inline \`code\` in monospace with subtle background
---
gui/main.qml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gui/main.qml b/gui/main.qml
index 362839c..4d6e426 100644
--- a/gui/main.qml
+++ b/gui/main.qml
@@ -522,6 +522,8 @@ ApplicationWindow {
function linkifyPaths(text) {
// Escape HTML entities first
let escaped = text.replace(/&/g, '&').replace(//g, '>')
+ // Inline code: `text` → monospace styled span
+ escaped = escaped.replace(/`([^`]+)`/g, '$1')
// Convert newlines to
escaped = escaped.replace(/\n/g, '
')
// Match /absolute/path or /absolute/path:line