Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add code context #5

Merged
merged 1 commit into from Jan 21, 2019
Merged

Add code context #5

merged 1 commit into from Jan 21, 2019

Conversation

GeorgeWL
Copy link
Contributor

Github has code context, any ``` followed with a file extension from this (very long) list: https://github.com/github/linguist/blob/master/lib/linguist/languages.yml will color the code similar to how many code editors will.

This makes the code far more readable.

npmjs.com uses this same code context package also, so it will do the same on the npm readme.

e.g.:

var testStr = 'text'
let testInt = 1
const CONST_OBJ = {test:true}
function (){
      return true
}

PLEASE READ THE FOLLOWING INSTRUCTIONS

Thanks for helping out! 馃槆

  • Pull the latest master branch

  • If your PR fixes an issue, reference that issue

  • If your PR has lots of commits, rebase first

Please remove any unused content (including these instructions) before submitting your issue.

Pull Request

Fixes #

Changes proposed:

  • Add

  • Fix

  • Remove

  • Update

Github has code context, any `/`/`/`` followed with a file extension from this (very long) list: https://github.com/github/linguist/blob/master/lib/linguist/languages.yml will color the code similar to how many code editors will.

e.g.:
```js
var testStr = 'text'
let testInt = 1
const CONST_OBJ = {test:true}
function (){
      return true
}
```
@englishextra englishextra merged commit f476bd8 into englishextra:master Jan 21, 2019
@englishextra
Copy link
Owner

@GeorgeWL Thank you

@GeorgeWL GeorgeWL deleted the patch-1 branch January 21, 2019 15:53
@GeorgeWL
Copy link
Contributor Author

Your welcome @englishextra

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants