GithubHelp home page GithubHelp logo

isabella232 / language-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from atom/language-examples

0.0 0.0 0.0 37 KB

Language examples for all Atom core languages.

License: MIT License

CoffeeScript 5.29% CSS 22.35% HTML 15.11% Java 4.42% JavaScript 8.26% PHP 1.77% Python 10.16% Ruby 3.18% C 4.74% C# 5.87% Go 4.91% Makefile 1.84% Objective-C 2.06% Perl 1.95% Shell 2.73% TypeScript 2.95% TSQL 2.42%

language-examples's Introduction

Language Examples

These are examples of all languages that come bundled with Atom. Use them to test syntax highlighting when creating a theme.

How to use?

  1. Open your theme in Atom.
  2. Clone or download this repo.
  3. Open that folder in "Dev Mode" (View > Developer > Open In Dev Mode...). You'll see a red icon bottom/right in the status bar. Opening in Dev Mode will automatically reload the styles when you save.
  4. Now, click through languages files to make sure all languages are supported.

screenshot

Left: Make changes to your theme. Right: See the changes applied to all Atom core languages.

Languages

Here a list of all the Atom core languages:

  • c
  • clojure
  • coffee-script
  • csharp
  • css
  • gfm
  • git
  • go
  • html
  • hyperlink
  • java
  • javascript
  • json
  • less
  • make
  • mustache
  • objective-c
  • perl
  • php
  • property-list
  • python
  • ruby
  • ruby-on-rails
  • sass
  • shellscript
  • sql
  • text
  • todo
  • toml
  • xml
  • yaml

Contributing

Contributions are greatly appreciated. Please fork this repository and open a pull request to improve the examples.

Each language file comes with two sections:

  1. A simple example of the language. Its purpose is to show a typical use case and get a quick overall impression.

  2. If needed more examples or tests can be added. Or maybe show a few edge cases.

language-examples's People

Contributors

burodepeper avatar simurai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.