From 5355ae7142b59e72112d1436a4717f632123ee35 Mon Sep 17 00:00:00 2001 From: Balthasar Hofer Date: Mon, 29 Apr 2024 12:14:25 +0200 Subject: [PATCH] add missing import to have a fully working example --- .../docs/guides/markdown-features/markdown-features-assets.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/website/docs/guides/markdown-features/markdown-features-assets.mdx b/website/docs/guides/markdown-features/markdown-features-assets.mdx index dfd3a96a518a..fa75c8f676ba 100644 --- a/website/docs/guides/markdown-features/markdown-features-assets.mdx +++ b/website/docs/guides/markdown-features/markdown-features-assets.mdx @@ -161,6 +161,7 @@ import DocusaurusSvg from './docusaurus.svg'; Docusaurus supports themed images: the `ThemedImage` component (included in the themes) allows you to switch the image source based on the current theme. ```jsx +import useBaseUrl from '@docusaurus/useBaseUrl'; import ThemedImage from '@theme/ThemedImage';