Skip to content

🎥 Make videos programmatically with React

style: Fix formatting

pullfrog[bot]cc69cbe9e7b0
diff --git a/packages/docs/docs/cli/browser/index.mdx b/packages/docs/docs/cli/browser/index.mdx
index f2ed162601..61a55282b6 100644
--- a/packages/docs/docs/cli/browser/index.mdx
+++ b/packages/docs/docs/cli/browser/index.mdx
@@ -1,11 +1,11 @@
---
image: /generated/articles-docs-cli-browser-index.png
title: npx remotion browser
-crumb: "@remotion/cli"
-sidebar_label: "browser"
+crumb: '@remotion/cli'
+sidebar_label: 'browser'
---
-import { TableOfContents } from "./table-of-contents";
+import {TableOfContents} from './table-of-contents';
# npx remotion browser<AvailableFrom v="4.0.137"/>
diff --git a/packages/docs/docs/cli/browser/table-of-contents.tsx b/packages/docs/docs/cli/browser/table-of-contents.tsx
index 59fd4770e1..fc6a53ec1e 100644
--- a/packages/docs/docs/cli/browser/table-of-contents.tsx
+++ b/packages/docs/docs/cli/browser/table-of-contents.tsx
@@ -1,16 +1,16 @@
-import React from "react";
-import { Grid } from "../../../components/TableOfContents/Grid";
-import { TOCItem } from "../../../components/TableOfContents/TOCItem";
+import React from 'react';
+import {Grid} from '../../../components/TableOfContents/Grid';
+import {TOCItem} from '../../../components/TableOfContents/TOCItem';
export const TableOfContents: React.FC = () => {
- return (
- <div>
- <Grid>
- <TOCItem link="/docs/cli/browser/ensure">
- <strong>browser ensure</strong>
- <div>Ensure Remotion has a browser to render</div>
- </TOCItem>
- </Grid>
- </div>
- );
-};
\ No newline at end of file
+ return (
+ <div>
+ <Grid>
+ <TOCItem link="/docs/cli/browser/ensure">
+ <strong>browser ensure</strong>
+ <div>Ensure Remotion has a browser to render</div>
+ </TOCItem>
+ </Grid>
+ </div>
+ );
+};
diff --git a/packages/docs/docs/cli/studio.mdx b/packages/docs/docs/cli/studio.mdx
index 98e221069e..880e7b03bd 100644
--- a/packages/docs/docs/cli/studio.mdx
+++ b/packages/docs/docs/cli/studio.mdx
@@ -70,6 +70,7 @@ You can also configure the browser via environment variables for backwards compa
- `BROWSER` behaves like the `--browser` flag.
- `BROWSER_ARGS` behaves like the `--browser-args` flag.
- Setting `BROWSER=none` disables auto-opening of the browser (equivalent to `--no-open`).
+
### `--browser-args`<AvailableFrom v="3.3.79" />
A set of command line flags that should be passed to the browser. Pass them like this:
diff --git a/packages/docs/docs/lambda/cli/functions.mdx b/packages/docs/docs/lambda/cli/functions.mdx
index 9bee56febc..669a537bd4 100644
--- a/packages/docs/docs/lambda/cli/functions.mdx
+++ b/packages/docs/docs/lambda/cli/functions.mdx
@@ -17,4 +17,4 @@ You only need one function per AWS region and Remotion version. Suggested readin
## See also
- [Do I need to deploy a function for each render?](/docs/lambda/faq#do-i-need-to-deploy-a-function-for-each-render)
-- [Setup guide](/docs/lambda/setup)
\ No newline at end of file
+- [Setup guide](/docs/lambda/setup)
diff --git a/packages/docs/docs/lambda/cli/functions/ls.mdx b/packages/docs/docs/lambda/cli/functions/ls.mdx
index 095d423df4..5c5f83993e 100644
--- a/packages/docs/docs/lambda/cli/functions/ls.mdx
+++ b/packages/docs/docs/lambda/cli/functions/ls.mdx
@@ -37,4 +37,4 @@ The [AWS region](/docs/lambda/region-selection) to select.
## `--quiet`, `-q`
-Prints only the function names in a space-separated list. If no functions exist, prints `()`
\ No newline at end of file
+Prints only the function names in a space-separated list. If no functions exist, prints `()`
diff --git a/packages/docs/docs/lambda/cli/functions/rm.mdx b/packages/docs/docs/lambda/cli/functions/rm.mdx
index 670dea7445..f64b75f0a9 100644
--- a/packages/docs/docs/lambda/cli/functions/rm.mdx
+++ b/packages/docs/docs/lambda/cli/functions/rm.mdx
@@ -35,4 +35,4 @@ The [AWS region](/docs/lambda/region-selection) to select.
## `--yes`, `-y`
-Skips confirmation.
\ No newline at end of file
+Skips confirmation.
diff --git a/packages/docs/docs/lambda/cli/functions/rmall.mdx b/packages/docs/docs/lambda/cli/functions/rmall.mdx
index 26e4bbaab7..1cc4d763c2 100644
--- a/packages/docs/docs/lambda/cli/functions/rmall.mdx
+++ b/packages/docs/docs/lambda/cli/functions/rmall.mdx
@@ -42,4 +42,4 @@ The [AWS region](/docs/lambda/region-selection) to select.
## `--yes`, `-y`
-Skips confirmation.
\ No newline at end of file
+Skips confirmation.
diff --git a/packages/docs/docs/lambda/cli/regions.mdx b/packages/docs/docs/lambda/cli/regions.mdx
index 044338ace8..bae3310a16 100644
--- a/packages/docs/docs/lambda/cli/regions.mdx
+++ b/packages/docs/docs/lambda/cli/regions.mdx
@@ -14,12 +14,7 @@ npx remotion lambda regions
<details>
<summary>Show output</summary>
- <pre>
- eu-central-1 eu-west-1 eu-west-2 eu-west-3 eu-south-1 eu-north-1 us-east-1
- us-east-2 us-west-1 us-west-2 af-south-1 ap-south-1 ap-east-1 ap-southeast-1
- ap-southeast-2 ap-northeast-3 ap-northeast-1 ap-northeast-2 ca-central-1
- me-south-1 sa-east-1
- </pre>
+ <pre>eu-central-1 eu-west-1 eu-west-2 eu-west-3 eu-south-1 eu-north-1 us-east-1 us-east-2 us-west-1 us-west-2 af-south-1 ap-south-1 ap-east-1 ap-southeast-1 ap-southeast-2 ap-northeast-3 ap-northeast-1 ap-northeast-2 ca-central-1 me-south-1 sa-east-1</pre>
</details>
## Flags
diff --git a/packages/docs/docs/lambda/cli/sites.mdx b/packages/docs/docs/lambda/cli/sites.mdx
index dabc986f46..16195e6778 100644
--- a/packages/docs/docs/lambda/cli/sites.mdx
+++ b/packages/docs/docs/lambda/cli/sites.mdx
@@ -10,4 +10,4 @@ The `npx remotion lambda sites` command allows to create, view and delete Remoti
- [`create`](/docs/lambda/cli/sites/create)
- [`ls`](/docs/lambda/cli/sites/ls)
- [`rm`](/docs/lambda/cli/sites/rm)
-- [`rmall`](/docs/lambda/cli/sites/rmall)
\ No newline at end of file
+- [`rmall`](/docs/lambda/cli/sites/rmall)
diff --git a/packages/docs/docs/lambda/cli/sites/create.mdx b/packages/docs/docs/lambda/cli/sites/create.mdx
index 77d3ca1599..e925055450 100644
--- a/packages/docs/docs/lambda/cli/sites/create.mdx
+++ b/packages/docs/docs/lambda/cli/sites/create.mdx
@@ -86,4 +86,4 @@ Either `public` (default) or `no-acl` if you are not using ACL. Sites must have
## `--force-path-style`<AvailableFrom v="4.0.202" />
-Passes `forcePathStyle` to the AWS S3 client. If you don't know what this is, you probably don't need it.
\ No newline at end of file
+Passes `forcePathStyle` to the AWS S3 client. If you don't know what this is, you probably don't need it.
diff --git a/packages/docs/docs/lambda/cli/sites/ls.mdx b/packages/docs/docs/lambda/cli/sites/ls.mdx
index 7969edf8bd..0c452b7851 100644
--- a/packages/docs/docs/lambda/cli/sites/ls.mdx
+++ b/packages/docs/docs/lambda/cli/sites/ls.mdx
@@ -28,7 +28,6 @@ Get a list of sites. The URL that is printed can be passed to the `render` comma
</pre>
</details>
-
## `--region`
The [AWS region](/docs/lambda/region-selection) to select. Both project and function should be in this region.
@@ -51,4 +50,4 @@ npx remotion lambda sites ls -q
## `--force-path-style`<AvailableFrom v="4.0.202" />
-Passes `forcePathStyle` to the AWS S3 client. If you don't know what this is, you probably don't need it.
\ No newline at end of file
+Passes `forcePathStyle` to the AWS S3 client. If you don't know what this is, you probably don't need it.
diff --git a/packages/docs/docs/lambda/cli/sites/rm.mdx b/packages/docs/docs/lambda/cli/sites/rm.mdx
index 36ad5059a9..39ab89a1fb 100644
--- a/packages/docs/docs/lambda/cli/sites/rm.mdx
+++ b/packages/docs/docs/lambda/cli/sites/rm.mdx
@@ -127,4 +127,4 @@ Specify a specific bucket name to be used. [This is not recommended](/docs/lambd
## `--force-path-style`<AvailableFrom v="4.0.202" />
-Passes `forcePathStyle` to the AWS S3 client. If you don't know what this is, you probably don't need it.
\ No newline at end of file
+Passes `forcePathStyle` to the AWS S3 client. If you don't know what this is, you probably don't need it.
diff --git a/packages/docs/docs/lambda/cli/sites/rmall.mdx b/packages/docs/docs/lambda/cli/sites/rmall.mdx
index b739a1970b..f1ed906f29 100644
--- a/packages/docs/docs/lambda/cli/sites/rmall.mdx
+++ b/packages/docs/docs/lambda/cli/sites/rmall.mdx
@@ -126,4 +126,4 @@ Specify a specific bucket name to be used. [This is not recommended](/docs/lambd
## `--force-path-style`<AvailableFrom v="4.0.202" />
-Passes `forcePathStyle` to the AWS S3 client. If you don't know what this is, you probably don't need it.
\ No newline at end of file
+Passes `forcePathStyle` to the AWS S3 client. If you don't know what this is, you probably don't need it.
diff --git a/packages/renderer/src/options/browser.tsx b/packages/renderer/src/options/browser.tsx
index 2ebdefa20a..9202418cab 100644
--- a/packages/renderer/src/options/browser.tsx
+++ b/packages/renderer/src/options/browser.tsx
@@ -7,11 +7,11 @@ export const browserOption = {
cliFlag,
description: () => (
<>
- Specify the browser which should be used for opening a tab. The
- default browser will be used by default. Pass an absolute path or{' '}
+ Specify the browser which should be used for opening a tab. The default
+ browser will be used by default. Pass an absolute path or{' '}
<code>&quot;chrome&quot;</code> to use Chrome. If Chrome is selected as
- the browser and you are on macOS, Remotion will try to reuse an
- existing tab.
+ the browser and you are on macOS, Remotion will try to reuse an existing
+ tab.
</>
),
ssrName: null,
diff --git a/packages/renderer/src/options/index.tsx b/packages/renderer/src/options/index.tsx
index a1b96f2e70..2440e3f923 100644
--- a/packages/renderer/src/options/index.tsx
+++ b/packages/renderer/src/options/index.tsx
@@ -60,8 +60,8 @@ import {overwriteOption} from './overwrite';
import {packageManagerOption} from './package-manager';
import {pixelFormatOption} from './pixel-format';
import {portOption} from './port';
-import {propsOption} from './props';
import {preferLosslessAudioOption} from './prefer-lossless';
+import {propsOption} from './props';
import {proResProfileOption} from './prores-profile';
import {publicDirOption} from './public-dir';
import {publicLicenseKeyOption} from './public-license-key';
diff --git a/packages/renderer/src/options/port.tsx b/packages/renderer/src/options/port.tsx
index 7da52ec939..7a5fefa651 100644
--- a/packages/renderer/src/options/port.tsx
+++ b/packages/renderer/src/options/port.tsx
@@ -9,8 +9,8 @@ export const portOption = {
cliFlag,
description: () => (
<>
- Set a custom HTTP server port for the Studio or the render process. If
- not defined, Remotion will try to find a free port.
+ Set a custom HTTP server port for the Studio or the render process. If not
+ defined, Remotion will try to find a free port.
</>
),
ssrName: null,
diff --git a/packages/renderer/src/options/props.tsx b/packages/renderer/src/options/props.tsx
index 0a624934b5..11826d8843 100644
--- a/packages/renderer/src/options/props.tsx
+++ b/packages/renderer/src/options/props.tsx
@@ -7,14 +7,17 @@ export const propsOption = {
cliFlag,
description: () => (
<>
- Input Props to pass to the selected composition of your video. Must be
- a serialized JSON string (<code>--props=&apos;{'{'}&#34;hello&#34;:
- &#34;world&#34;{'}'}&#39;</code>) or a path to a JSON file (
- <code>./path/to/props.json</code>).
+ Input Props to pass to the selected composition of your video. Must be a
+ serialized JSON string (
+ <code>
+ --props=&apos;{'{'}&#34;hello&#34;: &#34;world&#34;{'}'}&#39;
+ </code>
+ ) or a path to a JSON file (<code>./path/to/props.json</code>).
</>
),
ssrName: null,
- docLink: 'https://www.remotion.dev/docs/passing-props#passing-input-props-in-the-cli',
+ docLink:
+ 'https://www.remotion.dev/docs/passing-props#passing-input-props-in-the-cli',
getValue: ({commandLine}) => {
if (commandLine[cliFlag] !== undefined) {
return {