Skip to content

Code examples for syntax highlighting and colour coding

License

Notifications You must be signed in to change notification settings

mickimnet/code-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!