Skip to content

🎥 Make videos programmatically with React

doing edits

evoxfq59265ff0a716
diff --git a/packages/docs/components/TableOfContents/remotion.tsx b/packages/docs/components/TableOfContents/remotion.tsx
index 880db0088a..5f8bc3f464 100644
--- a/packages/docs/components/TableOfContents/remotion.tsx
+++ b/packages/docs/components/TableOfContents/remotion.tsx
@@ -160,7 +160,7 @@ export const TableOfContents: React.FC = () => {
<h2>Version</h2>
<Grid>
<TOCItem link="/docs/version">
- <strong>{"<VERSION>"}</strong>
+ <strong>{"VERSION"}</strong>
<div>Importing VERSION from remotion/version</div>
</TOCItem>
</Grid>
diff --git a/packages/docs/docs/version.md b/packages/docs/docs/version.md
index 43edeb7a9f..4cc970c132 100644
--- a/packages/docs/docs/version.md
+++ b/packages/docs/docs/version.md
@@ -1,11 +1,11 @@
---
image: /generated/articles-docs-version.png
id: version
-title: <VERSION>
+title: VERSION
crumb: "Tips and Tricks"
---
-In Remotion, you can import the `VERSION` variable from `remotion/version` to access the current version number of the Remotion library without including the entire Remotion library and its dependencies (such as React). This can be useful for displaying the Remotion version number in your application or for other version-specific operations. This gives you the current Remotion version which is being used at the moment. You can also check it by importinh the same and logging it in the console.
+In Remotion, you can import the `VERSION` variable from `remotion/version` to access the current version number of the Remotion library without including the entire Remotion library and its dependencies (such as React). This can be useful for displaying the Remotion version number in your application or for other version-specific operations. This gives you the current Remotion version which is being used at the moment. You can also check it by importing the same and logging it in the console.
```ts twoslash title="Importing VERSION from remotion/version"
import { VERSION } from "remotion/version";
@@ -13,5 +13,8 @@ import { VERSION } from "remotion/version";
console.log(`Using Remotion version ${VERSION}`);
```
+## See also
+
+- [Source code for this component](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/version.ts)