Skip to content

Commit

Permalink
limit the tree command to 30 lines...
Browse files Browse the repository at this point in the history
  • Loading branch information
corylanou committed Sep 10, 2024
1 parent 77957e6 commit 0a73201
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/quickstart/hype.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ For more examples, see the [hype repo](https://www.github.com/gopherguides/hype)

You can also use the `cmd` tag and the `exec` attribute to run arbitrary commands and include them in your documentation. Here is the command to run the `tree` command and include it in our documentation:

```
<cmd exec="tree" src="."></cmd>
```html
<cmd exec="tree | head -n 30" src="."></cmd>
```

Here is the output:

<cmd exec="tree" src="."></cmd>
<cmd exec="tree | head -n 30" src="."></cmd>

# The Export Command

Expand Down

0 comments on commit 0a73201

Please sign in to comment.