mirror of
https://github.com/ivabus/www
synced 2024-11-25 09:05:07 +03:00
Remove color from '$'... taking too long to start because of <span>
This commit is contained in:
parent
b339a5b17f
commit
cdfa3e59ba
3 changed files with 7 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
|||
<script>
|
||||
const commands2 = [
|
||||
{ input: "<span class='purple'>$</span> sh <(curl https://tea.xyz)<br>################################", output: `<br><br>k, we installed /Users/thomassmith/.tea/tea.xyz/v0.24.2/bin/tea` },
|
||||
{ input: `<br><br><span class='purple'>$</span> tea redis-cli ping<br>################################`, output: `<br>installed: ~/.tea/redis.io/v7.0.8<br><div class="comment-success p-2" style="position:relative; top:5px;"><code class="small"><i class="icon-check-circle"></i>tea installs 'redis' automagically.</code></div>` },
|
||||
{ input: "$ sh <(curl https://tea.xyz)<br>################################", output: `<br><br>k, we installed /Users/thomassmith/.tea/tea.xyz/v0.24.2/bin/tea` },
|
||||
{ input: `<br><br>$ tea redis-cli ping<br>################################`, output: `<br>installed: ~/.tea/redis.io/v7.0.8<br><div class="comment-success p-2" style="position:relative; top:5px;"><code class="small"><i class="icon-check-circle"></i>tea installs 'redis' automagically.</code></div>` },
|
||||
{ input: "", output: `<br><br>pong` },
|
||||
];
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<script>
|
||||
const commands3 = [
|
||||
{ input: "<span class='purple'>$</span> node --version<br>", output: `v19.3.0<br><br>` },
|
||||
{ input: "<span class='purple'>$</span> cat <<EOF >>my-project/README.md<br>", output: `# Dependencies<br>
|
||||
{ input: "$ node --version<br>", output: `v19.3.0<br><br>` },
|
||||
{ input: "$ cat <<EOF >>my-project/README.md<br>", output: `# Dependencies<br>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -18,8 +18,8 @@
|
|||
</table>
|
||||
EOF
|
||||
<br><br>` },
|
||||
{ input: "<span class='purple'>$</span> cd my-project<br>", output: `my-project<br><br>` },
|
||||
{ input: "<span class='purple'>$</span> node --version<br>", output: `v18.13.0` },
|
||||
{ input: "$ cd my-project<br>", output: `my-project<br><br>` },
|
||||
{ input: "$ node --version<br>", output: `v18.13.0` },
|
||||
];
|
||||
|
||||
let commandIndex3 = 0;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<script>
|
||||
const commands4 = [
|
||||
{ input: "<span class='purple'>$</span> tea https://github.com/teaxyz/demos/blob/main/hello-universe.sh<br><br>", output: `*** Interpreters ***<br><br>`},
|
||||
{ input: "$ tea https://github.com/teaxyz/demos/blob/main/hello-universe.sh<br><br>", output: `*** Interpreters ***<br><br>`},
|
||||
{ input: "", output: `TypeScript: Hello, World!<br>`},
|
||||
{ input: "", output: `Go: Hello, World!<br>`},
|
||||
{ input: "", output: `JavaScript: Hello, World!<br>`},
|
||||
|
|
Loading…
Reference in a new issue