Skip to content

🎥 Make videos programmatically with React

Move `setImageSequencePattern` section before `See also` in config.mdx

JonnyBurgera583c0bd514e
diff --git a/packages/docs/docs/config.mdx b/packages/docs/docs/config.mdx
index 00dc8cc5bc..ce493f274c 100644
--- a/packages/docs/docs/config.mdx
+++ b/packages/docs/docs/config.mdx
@@ -1094,6 +1094,18 @@ Config.overrideWebpackConfig(async (currentConfiguration) => {
});
```
+### `setImageSequencePattern()`
+
+<Options id="image-sequence-pattern" />
+
+```ts twoslash title="remotion.config.ts"
+import {Config} from '@remotion/cli/config';
+// ---cut---
+Config.setImageSequencePattern('frame_[frame]_custom.[ext]');
+```
+
+The [command line flag](/docs/cli/render#--image-sequence-pattern) `--image-sequence-pattern` will take precedence over this option.
+
## Old config file format
In v3.3.39, a new config file format was introduced which flattens the options so they can more easily be discovered using TypeScript autocompletion.
@@ -1117,15 +1129,3 @@ The old way is deprecated, but will work for the foreseeable future.
## See also
- [Encoding guide](/docs/encoding)
-
-### `setImageSequencePattern()`
-
-<Options id="image-sequence-pattern" />
-
-```ts twoslash title="remotion.config.ts"
-import {Config} from '@remotion/cli/config';
-// ---cut---
-Config.setImageSequencePattern('frame_[frame]_custom.[ext]');
-```
-
-The [command line flag](/docs/cli/render#--image-sequence-pattern) `--image-sequence-pattern` will take precedence over this option.