Merge pull request #22890 from AmbrishRamachandiran/docusaurus-code-clean

Removed unused value from docusaurus.js file
This commit is contained in:
Patrik Oldsberg
2024-02-13 13:32:57 +01:00
committed by GitHub
+1 -1
View File
@@ -69,7 +69,7 @@ module.exports = {
],
],
markdown: {
preprocessor({ filePath, fileContent }) {
preprocessor({ fileContent }) {
// Replace all HTML comments with emtpy strings as these are not supported by MDXv2.
return fileContent.replace(/<!--.*?-->/gs, '');
},