This repository was archived by the owner on May 26, 2019. It is now read-only.

Description
A big challenge in writing tutorials where code mutates over time is accurately drawing the reader's attention to lines of code that have been added, removed, or need highlighting.
The react docs do an excellent job here:

They've augments the fenced code 'metadata' section with a micro syntax to define highlights:
Highlight one line:
Highlight multiple lines:
In addition to this, we can expand the syntax to include classes for line additions and removals:
Line 10 is removed:
Line 10 is added:
Line 10 is removed, line 15 is added, line 16 is highlighted:
```javascript{-10,+15,16}