mickimnet / code-examples

Code examples for syntax highlighting and colour coding

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Examples to preview syntax highlighters

"Now you see it, now you don't." <H. Shadowspawn in Myth Directions>

release badge licence badge stars badge issues badge paypal badge

Introduction

This repository contains code, style and markup examples, for checking syntax highlighters colouring in different editors.

In my opinion, syntax highlighting for any programming language should look the same for the same code elements. Therefore, while working on version 1.4 of my colour scheme/highlighting for the Sublime Text editor, I realized that it displays code in various languages differently, even if the source code is structurally very similar.

As my knowledge of programming languages is limited, I published my work so far but I would like to support more languages, so there's more to come.

Update history

First draft

  • created the repository and added the first set of files

Contribute

If you want to translate one of the codes into another language improvement, please follow this steps:

  1. Fork the Code example repository, if you haven't already.
  2. Create a new branch from the master (if you use git-flow, please do a git flow hotfix start/finish or git flow feature start/finish)
  3. Make your changes.
  4. Commit your changes.
  5. Push your branch to your fork.
  6. Go to your fork on GitHub and make a pull request. Please give as much information in the description as possible.

Thanks!

A very big thanks goes to @DirtyHairy🙇 and my other colleagues at @mayflower for being so kind to validate my code so far. 😎. A special thanks and ❤️ goes out to @ahaberberger for correcting this readme.

Always have fun:sunny: in what you're doing and "DON'T PANIC"…:rocket:

Enjoy!

About

Code examples for syntax highlighting and colour coding

License:Other


Languages

Language:HTML 37.4%Language:Shell 12.4%Language:CSS 10.8%Language:C++ 8.6%Language:JavaScript 7.8%Language:PHP 6.6%Language:Python 6.1%Language:CoffeeScript 5.4%Language:Ruby 4.8%