New snippets get diff highlighted
Open
@pelikhan is already working on this.
Since Jun 21, 2020.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 641
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 57
Description
Problem: A new tutorial snippet shown in a later step is highlighted when ### @diffs true is set.
Description: The entire block of code is highlighted in later steps when new code is shown that is separate from the rest of the project. It seems that a new snippet shown without the rest of the project code should have it's own diff context.
Example:

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.
Assessment
This issue has not been assessed yet.