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 have read the console error message carefully (if applicable).
Description
(WIP)
# foo {#id}
vs
1 + 1 = {1+1}
The language server in the MDX extension for VS Code show a syntax error on the header syntax.
I believe the current syntax using single braces is no longer approved.
Double parens ((#id)) is an alternative.
Reproducible demo
WIP
Steps to reproduce
Enable the language server
Add a header with its ID
Expected behavior
No errors
Actual behavior
Syntax error
Your environment
Public source code:
Public site URL:
Docusaurus version used:
Environment name and version (e.g. Chrome 89, Node.js 16.4):
Operating system and version (e.g. Ubuntu 20.04.2 LTS):
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clearoryarn clearcommand.rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages.Description
(WIP)
# foo {#id}vs
The language server in the MDX extension for VS Code show a syntax error on the header syntax.
I believe the current syntax using single braces is no longer approved.
Double parens
((#id))is an alternative.Reproducible demo
WIP
Steps to reproduce
Expected behavior
No errors
Actual behavior
Syntax error
Your environment
WIP
Self-service