Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single curly bracket in code block not rendering code block #124

Open
LorenzMichels opened this issue Oct 27, 2024 · 0 comments
Open

Single curly bracket in code block not rendering code block #124

LorenzMichels opened this issue Oct 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@LorenzMichels
Copy link

If you put a single opening curly bracket in a code block, (part of) that codeblock will not be rendered no matter if you put a backslash in front of it or not. E.g. ```@page "/category-editor/\{CategoryId:int}"```

To Reproduce
Steps to reproduce the behavior:

  1. Go to visual studio
  2. Create a md file
  3. Copy this example in there: ```@page "/category-editor/\{CategroyId:int}"```
  4. It won't be correctly rendered

Expected behavior
I expect this text in a code block: @page "/category-editor/{CategoryId:int}"

By the way, this editor renders it correctly

@LorenzMichels LorenzMichels added the bug Something isn't working label Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant