Markdown - trying to escape two dollar symbols
Open
- Dominant language
- Jupyter Notebook
- Stars
- 13.3k
- Forks
- 5.8k
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 7
Description
I am trying to add dollar symbols '$' to a markdown cell in a jupyter notebook using the escape character '\\'. Adding one is fine but when you add the second something strange happens to the text in between. Images below show two cells in edit mode and published mode.


Am I doing something wrong or is this a bug?
Contributor guide
Research direction
Start by reproducing the problem in a Jupyter Notebook Markdown cell using two escaped dollar symbols, comparing edit mode with the published rendering. Trace the Markdown cell rendering path and verify that literal dollar symbols render correctly without changing the text between them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, markdown
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100