-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executiondomain: markdownRelated to Markdown parsing or syntaxRelated to Markdown parsing or syntax
Description
🐛 Bug Report
The latest version of D2 fails to build if markdown links or images contain an empty URL value. A build may also fail if a relative URL value path cannot be resolved.
Have you read the Contributing Guidelines on issues?
Yes.
To Reproduce
(Write your steps here:)
- Add a markdown link or image to a doc with an empty URL value.
- Attempt to perform a dev server start or production build.
Expected behavior
Inherit the onBrokenMarkdownLinks setting. For example, if set to warn then error should be displayed as a warning and dev server or build should continue.
(Write what you thought would happen.)
Actual Behavior
Seeing the following errors:
Error: Markdown link url is mandatory.Error: Markdown Image url is mandatory.
(Write what happened. Add screenshots, if applicable.)
Your Environment
- Docusaurus version used: alpha 70
- Environment name and version (e.g. Chrome 78.0.3904.108, Node.js 10.17.0): Chrome 87.0.4280.88, Node.js 14.x
- Operating system and version (desktop or mobile): MacOSX 10.15.7
Reproducible Demo
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executiondomain: markdownRelated to Markdown parsing or syntaxRelated to Markdown parsing or syntax