chore: add a comment for replacing

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2023-04-27 20:14:33 +02:00
parent e768c7e53e
commit c0bb87da5e
+1
View File
@@ -70,6 +70,7 @@ module.exports = {
],
markdown: {
preprocessor({ fileContent }) {
// Remove HTML comments from markdown files as they're not supported by MDX2
return fileContent.replace(/<!--.*?-->/gs, '');
}
},