diff --git a/packages/nextra/src/client/icons/index.ts b/packages/nextra/src/client/icons/index.ts
index e3e6a290ca..589d53ff8a 100644
--- a/packages/nextra/src/client/icons/index.ts
+++ b/packages/nextra/src/client/icons/index.ts
@@ -23,3 +23,4 @@ export { ReactComponent as CsharpIcon } from './csharp.svg'
export { ReactComponent as GraphQLIcon } from './graphql.svg'
export { ReactComponent as PythonIcon } from './python.svg'
export { ReactComponent as RustIcon } from './rust.svg'
+export { ReactComponent as MoveIcon } from './move.svg'
diff --git a/packages/nextra/src/client/icons/move.svg b/packages/nextra/src/client/icons/move.svg
new file mode 100644
index 0000000000..155d754a98
--- /dev/null
+++ b/packages/nextra/src/client/icons/move.svg
@@ -0,0 +1,9 @@
+
diff --git a/packages/nextra/src/server/rehype-plugins/__tests__/rehype-icon.test.ts b/packages/nextra/src/server/rehype-plugins/__tests__/rehype-icon.test.ts
index a4e53bac86..935cd16e3d 100644
--- a/packages/nextra/src/server/rehype-plugins/__tests__/rehype-icon.test.ts
+++ b/packages/nextra/src/server/rehype-plugins/__tests__/rehype-icon.test.ts
@@ -89,6 +89,7 @@ describe('rehypeIcon', () => {
import { GraphQLIcon } from 'nextra/icons'
import { PythonIcon } from 'nextra/icons'
import { RustIcon } from 'nextra/icons'
+ import { MoveIcon } from 'nextra/icons'
function _createMdxContent(props) {
const _components = {
code: 'code',
@@ -211,6 +212,12 @@ describe('rehypeIcon', () => {
<_components.span>
+ {'\\n'}
+ <_components.pre icon={MoveIcon} tabIndex="0" data-language="move" data-word-wrap="" data-copy="">
+ <_components.code>
+ <_components.span>
+
+
>
)
}
diff --git a/packages/nextra/src/server/rehype-plugins/rehype-icon.ts b/packages/nextra/src/server/rehype-plugins/rehype-icon.ts
index b36a7f6410..bd16aa0cbf 100644
--- a/packages/nextra/src/server/rehype-plugins/rehype-icon.ts
+++ b/packages/nextra/src/server/rehype-plugins/rehype-icon.ts
@@ -22,7 +22,8 @@ export const REHYPE_ICON_DEFAULT_REPLACES: Record = {
python: 'PythonIcon',
py: 'PythonIcon',
rust: 'RustIcon',
- rs: 'RustIcon'
+ rs: 'RustIcon',
+ move: 'MoveIcon'
}
function createImport(iconName: string) {