Skip to content

Commit 7c1acb2

Browse files
authored
fix: fix the README's grep command
1 parent b3f4248 commit 7c1acb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You also have to activate the preprocessor, put this in your `book.toml` file:
1919
> :warning: This preprocessor presents a security risk, as arbitrary commands can be run. Be careful with the commands you run.
2020
> To list all the commands that will be run within an mdbook, you can run the following command:
2121
> ```sh
22-
> grep -r '<!-- cmdrun' . | sed 's/.*<!-- cmdrun \(.*\) -->.*/\1/'
22+
> grep -r '<!--\s*cmdrun' . | sed 's/.*<!--\s*cmdrun \(.*\) -->.*/\1/'
2323
> ``````
2424
2525

0 commit comments

Comments
 (0)