microsoft / microsoft/pxt

New snippets get diff highlighted

Open
#7,233 0 comments 0 reactions 1 assignee View on GitHub

@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:

image

RE: https://github.com/microsoft/pxt-microbit/pull/3288

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.