From 88e40f64350e242cb3bd88ccc22b4d6e857032f1 Mon Sep 17 00:00:00 2001 From: Tomasz Kajtoch Date: Wed, 23 Oct 2024 21:46:11 +0200 Subject: [PATCH] fix(docusaurus-theme): re-add the `markdown` class name and fix `data-search-children` usage --- packages/docusaurus-theme/src/theme/DocItem/Content/index.tsx | 2 +- packages/docusaurus-theme/src/theme/MDXContent/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/docusaurus-theme/src/theme/DocItem/Content/index.tsx b/packages/docusaurus-theme/src/theme/DocItem/Content/index.tsx index 8d4b495dfed..4c692d6b464 100644 --- a/packages/docusaurus-theme/src/theme/DocItem/Content/index.tsx +++ b/packages/docusaurus-theme/src/theme/DocItem/Content/index.tsx @@ -51,7 +51,7 @@ export default function DocItemContent({ children }: Props): JSX.Element { const styles = useEuiMemoizedStyles(getContentStyles); return ( -
+
{syntheticTitle && ( <>
diff --git a/packages/docusaurus-theme/src/theme/MDXContent/index.tsx b/packages/docusaurus-theme/src/theme/MDXContent/index.tsx index 6bca4cb23b6..0845bbb57ef 100644 --- a/packages/docusaurus-theme/src/theme/MDXContent/index.tsx +++ b/packages/docusaurus-theme/src/theme/MDXContent/index.tsx @@ -13,7 +13,7 @@ import type { WrapperProps } from '@docusaurus/types'; type Props = WrapperProps; const MDXContent = (props: Props): JSX.Element => ( -
+
);