Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ MDX/HTML comments with invalid file references should not be resolved nor report

{/* [doesNotExist.mdx](doesNotExist.mdx) */}

<!-- [doesNotExist.mdx](doesNotExist.mdx) -->

## Reference-style links

The following should also work:
Expand Down
23 changes: 9 additions & 14 deletions website/_dogfooding/_pages tests/markdown-tests-mdx.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,23 +50,18 @@ import TabItem from '@theme/TabItem';

## Comments

Html comment: <!-- comment -->

Html comment multi-line:

<!--
comment
-->

<!-- prettier-ignore -->
MDX comment: {/* comment */}

MDX comment multi-line:
MDX comment in JSX:

<!-- prettier-ignore -->
{/*
comment
*/}
<>
{/* comment */}
<span>
{/* comment */}
TEST
{/* comment */}
</span>
</>

## Import code block from source code file

Expand Down
2 changes: 1 addition & 1 deletion website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export default async function createConfigAsync() {
},
mdx1Compat: {
headingIds: false,
// comments: false,
comments: false,
},
remarkRehypeOptions: {
footnoteLabel: getLocalizedConfigValue('remarkRehypeOptions_footnotes'),
Expand Down
Loading