Formatted table like markdown

This commit is contained in:
Thomas Smith 2023-02-28 12:02:38 -05:00
parent 8092c83269
commit 1b650752e0

View file

@ -2,20 +2,9 @@
const commands3 = [ const commands3 = [
{ input: '$ node --version<br>', output: `v19.3.0<br><br>` }, { input: '$ node --version<br>', output: `v19.3.0<br><br>` },
{ input: `$ cat &lt;&lt;EOF &gt;&gt;my-project/README.md<br>`, output: `# Dependencies<br> { input: `$ cat &lt;&lt;EOF &gt;&gt;my-project/README.md<br>`, output: `# Dependencies<br>
<table> | Project &nbsp;&nbsp;&nbsp;| Version |<br>
<thead> |------------|---------|<br>
<tr> | nodejs.org | ^18.4 &nbsp;&nbsp;|<br>
<th>Project</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>nodejs.org</td>
<td>^18.4</td>
</tr>
</tbody>
</table>
EOF EOF
<br><br>` }, <br><br>` },
{ input: '$ cd my-project<br>', output: `my-project<br><br>` }, { input: '$ cd my-project<br>', output: `my-project<br><br>` },