From a6c3b70282cc39a5145024f4b33ed7b6db289817 Mon Sep 17 00:00:00 2001 From: Noah Date: Tue, 10 Feb 2026 14:17:52 -0500 Subject: [PATCH] fix code block styling and copy button --- meshtastic-resources.html | 45 ++++++++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 17 deletions(-) diff --git a/meshtastic-resources.html b/meshtastic-resources.html index 5a032bf..4123750 100644 --- a/meshtastic-resources.html +++ b/meshtastic-resources.html @@ -74,14 +74,17 @@ padding: 0; line-height: 1.5; } - .settings { + .code-block { background: #F5F5F5; border-radius: 12px; padding: 1em; border: 1px solid #D0D0D0; margin: 0.75em 0; + position: relative; } - .settings code { + .code-block pre { + margin: 0; + white-space: pre-wrap; font-family: monospace; font-size: 0.95em; } @@ -97,6 +100,13 @@ margin-left: 0.5em; vertical-align: middle; } + .code-block .copy-btn { + position: absolute; + top: 0.75em; + right: 0.75em; + padding: 0.4em 0.75em; + margin-left: 0; + } .btn { display: inline-flex; align-items: center; @@ -225,21 +235,22 @@

Our MQTT broker is uplink-only and designed for fixed nodes across the state to serve as gateway nodes. Its purpose is not to bridge gaps or extend mesh coverage, but to report local traffic to our own map and other web-based tools for analytical data and metrics to assess the mesh's performance. This role is best suited for stable, well-placed nodes with reliable coverage. If that describes your setup, follow the steps at on this page to get set up.

Key Settings

-
-

MQTT > Enabled > ON

-

MQTT > Encryption Enabled > ON

-

MQTT > Map Report > OFF

-

MQTT > Root Topic > msh/US/CT

-

MQTT > Address > mqtt.ctmesh.org

-

MQTT > Username > meshdev

-

MQTT > Password > large4cats

-

MQTT > TLS Enabled > OFF

-

Channels > Primary Channel > Positions Enabled > ON

-

Channels > Primary Channel > Approximate Location > (set as desired)

-

Channels > Primary Channel > MQTT Uplink > ON

-

Channels > Primary Channel > MQTT Downlink > OFF

-

Settings > Modules > Neighbor Info > ON

-

LoRa > Ok to MQTT > ON

+
+ +
MQTT > Enabled > ON
+MQTT > Encryption Enabled > ON
+MQTT > Map Report > OFF
+MQTT > Root Topic > msh/US/CT
+MQTT > Address > mqtt.ctmesh.org
+MQTT > Username > meshdev
+MQTT > Password > large4cats
+MQTT > TLS Enabled > OFF
+Channels > Primary Channel > Positions Enabled > ON
+Channels > Primary Channel > Approximate Location > (set as desired)
+Channels > Primary Channel > MQTT Uplink > ON
+Channels > Primary Channel > MQTT Downlink > OFF
+Settings > Modules > Neighbor Info > ON
+LoRa > Ok to MQTT > ON

Note: CT Mesh's MQTT server is bridged and uplinks to the MQTT servers for both meshtastic.liamcottle.net and meshmap.net.