diff --git a/docs/section-3-creating-parsers.md b/docs/section-3-creating-parsers.md index 07f9d865..d4c05f25 100644 --- a/docs/section-3-creating-parsers.md +++ b/docs/section-3-creating-parsers.md @@ -80,6 +80,11 @@ You can test this parser by creating a source file with the contents "hello" and echo 'hello' > example-file tree-sitter parse example-file ``` +Alternatively, in Windows PowerShell: +```pwsh +"hello" | Out-File example-file -Encoding utf8 +tree-sitter parse example-file +``` This should print the following: