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

Left curly bracket in markdown seems to be unescapable #78

Open
davej opened this issue Feb 9, 2023 · 3 comments
Open

Left curly bracket in markdown seems to be unescapable #78

davej opened this issue Feb 9, 2023 · 3 comments

Comments

@davej
Copy link

davej commented Feb 9, 2023

I am trying to put a left curly bracket { in my markdown docs but it doesn't seem to be possible. A few variations that I've tried all give the 500 error "abc is not defined".

{ abc }
\{ abc }
\{ ref \}
{ abc }
{ abc }

This doesn't error but explicitly outputs the characters "{" instead of showing a curly bracket:

\{ abc }

I tried reproducing the error on the online parser here but it seemed to work fine. Any idea how I would go about troubleshooting this?

@mihar-22
Copy link
Contributor

mihar-22 commented Feb 9, 2023

Ye there's some issues with braces right now because code blocks are inserted like so {@html `...`}. Can I see the code snippet you're trying to insert?

@davej
Copy link
Author

davej commented Feb 9, 2023

Markdown is a table like this:

| Function                                                                      | Description                                                                                                                                                                    |
| ----------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [addBrowserView({ ref, viewRef, })](<#nativewindow-addbrowserview()>)         | Adds a BrowserView to the reference BrowserWindow.                                                                                                                             |

Which gets rendered like this:
CleanShot 2023-02-09 at 2 28 47@2x

You can see the output here (I have replaced { with &amp;#x007B; just so it will render without an error): https://next.todesktop.com/docs/API/client-core.nativewindow

@davej
Copy link
Author

davej commented May 4, 2023

@mihar-22 just following up here. Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants