cd ~/code/atlas && atlas build --watch
One-line command
data-command
One command in a bar of its own, with a Copy button at the end. Put the command in a <code> and nothing else; the $ in front is drawn by the stylesheet, so it never reaches the clipboard.
Basic
<p data-command><code>cd ~/code/atlas && atlas build --watch</code></p>The bar fills the width it is given and wraps rather than scroll, so a long command stays readable on a phone.
Notes
- s72.js appends the Copy button and reads the text of the
<code>. Without the script the bar still reads correctly; it just has no button. - The bar is a flat band of the solid colour, set in IBM Plex Mono, with the button flush against its right end in the card colour.
- It holds one line. For a script, a config file or anything with output, use the code view instead.
data-stamp,data-stamp-noteanddata-stamp-targeton the same<p>land a stamp after the copy, as long as<html>carriesdata-stamps.