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

Escaping $ in code blocks #164

Open
stephancill opened this issue May 13, 2024 · 3 comments
Open

Escaping $ in code blocks #164

stephancill opened this issue May 13, 2024 · 3 comments

Comments

@stephancill
Copy link

When rendering a code block with

`https://${process.env.VERCEL_URL}`

The $ is not rendered, how can I fix this?

@michalkvasnicak
Copy link

Interesting thing is that when you put a space between / and $ (https:// ${process.env.VERCEL_URL}), it renders $:

`https:// ${process.env.VERCEL_URL}`

@michalkvasnicak
Copy link

it seems that // is escaping $

@michalkvasnicak
Copy link

Adding second $ fixes the issue.

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