Skip to content

Commit

Permalink
fix tree commands
Browse files Browse the repository at this point in the history
  • Loading branch information
corylanou committed Sep 10, 2024
1 parent 2b1d942 commit ce4722d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/quickstart/hype.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,12 @@ 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:

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

Here is the output:

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

# The Export Command

Expand Down
2 changes: 1 addition & 1 deletion hype.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ You can view the source for this entire readme in the [.hype](https://github.com

Here is the current structure that we are using to create this readme:

<cmd exec="tree" src=".">
<cmd exec="tree ./docs" src=".">

<include src=".github/workflows/hype.md"></include>

Expand Down

0 comments on commit ce4722d

Please sign in to comment.