From 4df05598e1b2086fa297f61ecf065b7c2278b1e0 Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Mon, 20 Oct 2025 18:55:53 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Open=20markdown=20links=20extern?= =?UTF-8?q?ally=20and=20add=20PWA=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add custom anchor component to markdown renderer that opens all links with target='_blank' and rel='noopener noreferrer' - Add PWA manifest with app metadata, icons, and shortcuts - Add service worker for offline support and caching - Register service worker in main.tsx - Update index.html with PWA meta tags and manifest link This fixes the issue where clicking links in markdown (like web/server docs) would replace the entire app window instead of opening externally. Generated with `cmux` --- index.html | 4 ++ public/icon-192.png | Bin 0 -> 7793 bytes public/icon-512.png | Bin 0 -> 23967 bytes public/manifest.json | 35 ++++++++++++ public/service-worker.js | 53 ++++++++++++++++++ .../Messages/MarkdownComponents.tsx | 12 ++++ src/main.tsx | 14 +++++ 7 files changed, 118 insertions(+) create mode 100644 public/icon-192.png create mode 100644 public/icon-512.png create mode 100644 public/manifest.json create mode 100644 public/service-worker.js diff --git a/index.html b/index.html index 7b1d399b9..aa0c1ed96 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,10 @@ + + + + cmux - coder multiplexer