You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just ran through this issue again. I had another error url is not defined which ended up being due to this line that contains { url }
<blockquote>Deprecated: Query media { url } instead</blockquote>
And in the GraphQL Schema
"Type of content"
type Content {
"The ID for the Content"
id: ID!
"Media for the Content"
mediaUrl: String @rename(attribute: "media_url") @deprecated(reason: "Query media { url } instead")
}
While I can remove that from the GraphQL schema, I wonder if there's a way to escape or ignore it in Docusaurus when building or rather when building the GraphQL docs themselves (via the plugin)?
Possible solution:
Convert any curly braces to entities { and }? Though they don't render properly in markdown and just end up as text.
Due to Docusaurus interpreting .md files as MDX, curly braces are troublesome. They're currently escaped in description and inline code, through #10
The issue with code blocks is that the current Markdown parser (marked) escapes the content of code blocks. In the below example:
If we turn that into:
The parser would then turn that into:
As a side note, this issue is tracked through facebook/docusaurus#3018 from docusaurus' side.
The text was updated successfully, but these errors were encountered: