Skip to content

🎥 Make videos programmatically with React

Update preview.md

0xflotus5135b74b7e4c
diff --git a/packages/docs/docs/cli/preview.md b/packages/docs/docs/cli/preview.md
index 26e5dba4c3..19405b1d15 100644
--- a/packages/docs/docs/cli/preview.md
+++ b/packages/docs/docs/cli/preview.md
@@ -27,13 +27,13 @@ If `entry-file` is not passed, Remotion will try to detect the entry file with t
Inline JSON string isn't supported on Windows because it removes the `"` character, use a temporary file instead.
:::
-### `--config`
+### `--config` <AvailableFrom v="1.2.0" />
-Specify a location for the Remotion config file. Available in v1.2 and later.
+Specify a location for the Remotion config file.
-### `--env-file`
+### `--env-file` <AvailableFrom v="2.2.0" />
-Specify a location for a dotenv file. Default `.env`. Available in v2.2 and later.
+Specify a location for a dotenv file. Default `.env`.
### `--log`
@@ -43,27 +43,19 @@ Specify a location for a dotenv file. Default `.env`. Available in v2.2 and late
[Set a custom HTTP server port](/docs/config#setPort). If not defined, Remotion will try to find a free port.
-### `--public-dir`
-
-_Available from v3.2.13_
+### `--public-dir` <AvailableFrom v="3.2.13" />
[Define the location of the `public/` directory.](/docs/config#setpublicdir). If not defined, Remotion will assume the location is the `public` folder in your Remotion root.
-### `--disable-keyboard-shortcuts`
-
-_Available from v3.2.11_
+### `--disable-keyboard-shortcuts` <AvailableFrom v="3.2.11" />
[Disables all keyboard shortcuts in the Preview](/docs/config#setkeyboardshortcutsenabled).
-### `--webpack-poll`
-
-_Available from v3.3.11_
+### `--webpack-poll` <AvailableFrom v="3.3.11" />
[Enables Webpack polling](/docs/config#setwebpackpollinginmilliseconds) instead of the file system event listeners for hot reloading. This is useful if you are inside a virtual machine or have a remote file system.
Pass a value in milliseconds, for example `--webpack-poll=1000`.
-### `--no-open`
-
-_Available from v3.3.19_
+### `--no-open` <AvailableFrom v="3.3.19" />
[Prevents Remotion from trying to open a browser](/docs/config#setshouldopenbrowser). This is useful if you use a different browser for Remotion than the operating system default.