Can't use curly brackets in markdown content
Opened this issue · 1 comments
kling90 commented
I can't seem to use curly brackets in markdown content.
Since every mardown file is a Svelte component the usage of curly brackets directly works as expected, but the HTML entites should probably stay as they are?
Markdown:
# Test curly brackets
{} {} {}
Error:
C:/dev/kit-docs-test/src/routes/docs/[...1]test.md:19:4 Unexpected token
17 |
18 | <h1>Test curly brackets</h1>
19 | <p>{} {} {}</p>
^
Trying to migrate some API documentation and needed to symbolise an empty object.
kling90 commented
Putting the curly brackets inside backticks worked 🤦
`{}`
But the HTML entities should probably still stay as they are if used?