Skip to content

Commit

Permalink
docs: Update README.md to include backticks and single quotes (#429)
Browse files Browse the repository at this point in the history
Update README.md to include backticks

Adds an explanation of how to use backticks or single quotes with the Type command.
  • Loading branch information
donovanhubbard authored Mar 2, 2024
1 parent f63afe6 commit ba16ea2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,17 @@ Type@500ms "Slow down there, partner."
<img width="600" alt="Example of using the Type command in VHS" src="https://stuff.charm.sh/vhs/examples/type.gif">
</picture>

You can also enclose the text you type in backticks or single quotes. This is useful
if you want to type the `"` character.

```elixir
# Type something enclosed in back ticks
Type `VAR="Hello world!"`

# Type something enclosed in single quotes
Type 'VAR="Hello world!"'
```

### Keys

Key commands take an optional `@time` and optional repeat `count` for repeating
Expand Down

0 comments on commit ba16ea2

Please sign in to comment.