Markdown: Parsing fails when putting a Typescript type outside of the code block #4607
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
closed: working as intended
This issue is intended behavior, there's no need to take any action.
🐛 Bug Report
Hello I am having an issue with being unable to parse markdown generated by microsoft api-extractor. The problem is that I am having some interfaces outside of the code block for example Array which parses Array as text and as an html tag. Which results in an error requiring me to provide a closing tag as well even though it should be an Array with a string type.
What is happening is that docusaurus is parsing
Array<string>
as Array as a string and as an jsx tag.Similar issue reported: #2708 ; however , it was closed with no clear asnwer.
Have you read the Contributing Guidelines on issues?
yes
To Reproduce
If possible, use https://new.docusaurus.io to create a CodeSandbox reproducible demo of the bug.
(Write your steps here:)
Expected behavior
Docusaurus is started successfully.
Actual Behavior
Your Environment
Reproducible Demo
If possible, use https://new.docusaurus.io to create a CodeSandbox reproducible demo of the bug.
(Paste the link to an example repo, including a
docusaurus.config.js
, and exact instructions to reproduce the issue.)The text was updated successfully, but these errors were encountered: