Markdown: munges github emoji strings when along-side italics
Open
Nobody has claimed this yet.
lang:markdown
- Dominant language
- JavaScript
- Stars
- 52.3k
- Forks
- 5k
- Avg merge
- 19h 2m
- Merged PRs (30d)
- 117
Description
Prettier 2.3.2
Playground link
--parser markdown
Input:
:stop_sign: ***(new)***
:stop_sign: **_(new)_**
Output:
:stop*sign: ***(new)***
:stop_sign: \*\**(new)\_\*\*
Expected behavior:
:stop_sign: **_(new)_**
:stop_sign: **_(new)_**
Prettier assumes that the _ in the emoji string is an italic marker, so then it does some weird stuff with it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the linked Playground example with the Markdown parser, comparing the shown input, output, and expected behavior for emoji strings beside italics. Done means formatting both examples without changing the 🛑 text or the intended emphasis.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, markdown
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100