patx/veela

Wrap install command within its code box

Commit d62373a · patx · 2026-10-13T21:51:41-04:00

Changeset
d62373a98250227189d3563c4cd16499b294542c
Parents
f85467aff84ccb410463190e78430f7c88c55d52

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/docs/index.html b/docs/index.html
index f9e896e..e7c4ecf 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -21,6 +21,7 @@
     .examples { max-width: 800px; margin: 0 auto; padding: 0 24px; }
     .examples pre { margin-bottom: 12px; background: #fff0f0; border: 1px solid #dc8994; border-radius: 6px; }
     pre { margin: 0; padding: 12px 16px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: #702a36; font: 16px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; tab-size: 2; }
+    .install-command { white-space: normal; overflow-wrap: anywhere; }
     code { font: inherit; }
     @media (max-width: 700px) {
       .intro { padding-left: 12px; padding-right: 12px; }
@@ -35,7 +36,7 @@
       <p>Wred-embedded is a magical, single-file Python framework for simple JavaScript web apps. Just grab <a target="_blank" href="https://gitman.io/patx/wred-embedded/src/wred.py">wred.py</a> and go! View the documentation and source <a target="_blank" href="https://gitman.io/patx/wred-embedded">here</a>.</p>
     </header>
     <section class="examples" aria-label="Installation and example">
-      <pre aria-label="Install"><code>wget https://gitman.io/patx/wred-embedded/raw/wred.py</code></pre>
+      <pre class="install-command" aria-label="Install"><code>wget https://gitman.io/patx/wred-embedded/raw/wred.py</code></pre>
       <pre aria-label="app.py"><code>from wred import App
 
 app = App()