Skip to content

Conversation

@petecheslock
Copy link
Collaborator

@petecheslock petecheslock commented Nov 13, 2025

Root cause was in remote-content/remote-sources/repo-transforms.js: the HTML comment cleanup blindly replaced every -->, so Mermaid arrows like A-->B turned into */} during the remote-content sync.

The reason we have that transform in the first place raw <!-- ... --> comments are valid in Markdown but not in MDX. When Docusaurus runs MDX, those comments are treated as JSX and cause build-time syntax errors.

Updated the transform to rewrite only actual HTML comments, leaving Mermaid syntax intact. This prevents the bad replacement and keeps diagrams renderable.

Screenshot 2025-11-13 at 10 24 27 AM

@netlify
Copy link

netlify bot commented Nov 13, 2025

Deploy Preview for elaborate-kangaroo-25e1ee ready!

Name Link
🔨 Latest commit fb128b0
🔍 Latest deploy log https://app.netlify.com/projects/elaborate-kangaroo-25e1ee/deploys/6915f7594993cb0008fd9400
😎 Deploy Preview https://deploy-preview-115--elaborate-kangaroo-25e1ee.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@petecheslock
Copy link
Collaborator Author

@jjasghar jjasghar merged commit 02b56c2 into llm-d:main Nov 13, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants