sup

A curses threads-with-tags style email client

sup-website.git

git clone https://supmua.dev/git/sup-website/
commit daa62162e7d3cc6b49a0e364a40db5e0c71ff964
parent fea9d5dcc25d65c4b8586994b0292da9105fe844
Author: Dan Callaghan <djc@djc.id.au>
Date:   Fri,  3 Apr 2026 18:40:36 +1100

add preceding prompt to commands using CSS instead of writing it out

Diffstat:
M index.md | 4 ++--
M stylesheets/stylesheet.css | 6 ++++++
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/index.md b/index.md
@@ -23,8 +23,8 @@ If you're the type of person who treats email as an extension of your long-term 
 Install the sup rubygem and run the sup-config utility to build a configuration:
 
 <pre class="code">
-$ gem install sup
-$ sup-config
+<span class="command">gem install sup</span>
+<span class="command">sup-config</span>
 </pre>
 
 More documentation on getting started [is available in the wiki.](https://github.com/sup-heliotrope/sup/wiki#installation)
diff --git a/stylesheets/stylesheet.css b/stylesheets/stylesheet.css
@@ -184,6 +184,12 @@ pre.code {
   overflow-y: hidden;
 }
 
+pre .command:before {
+  font-weight: 300;
+  color: #888;
+  content: "$ ";
+}
+
 table {
   width: 100%;
   margin: 0 0 20px 0;