MacDownApp / MacDownApp/macdown

$ sign in text causes issues

Open
#489 46 comments 1 reaction 1 assignee View on GitHub

@uranusjr is already working on this.

Since Nov 13, 2015.

bug upstream
Dominant language
Rich Text Format
Stars
9.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Ran into an odd thing today where if you have two $ signs within your text, the text in between them greys out and MD syntax no longer works _visually_ (it still previews OK). E.g.

``` markdown
Lorem ipsum dolor sit amet $20, consectetur adipisicing elit. Debitis cum blanditiis omnis eligendi repellat.

## Heading

porro quisquam iste sapiente assumenda, dicta, odit libero nihil? Quasi, $50 harum molestias explicabo ullam praesentium soluta.
```

Produces this:

test

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.