jupyter / jupyter/notebook

Markdown - trying to escape two dollar symbols

Open
#4,244 3 comments 0 reactions 0 assignees View on GitHub
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.

screen shot 2018-11-29 at 09 15 02

screen shot 2018-11-29 at 09 14 50

Am I doing something wrong or is this a bug?

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.