Skip to content

Instantly share code, notes, and snippets.

@ruben-h
Forked from staltz/migration-guide.md
Created December 15, 2015 10:03
Show Gist options
  • Save ruben-h/a6c36d24dc7f0e66d584 to your computer and use it in GitHub Desktop.
Save ruben-h/a6c36d24dc7f0e66d584 to your computer and use it in GitHub Desktop.
How to show migration guides in GitHub Markdown

How to show migration guides in GitHub Markdown

Use the diff code highlighting tag.

  ```diff
  - foo
  + bar

Example:

-function () {
+function greet() {
   console.log('Hello world');
 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment