Atom and all repositories under Atom will be archived on December 15, 2022. Learn more in our official announcement
These are examples of all languages that come bundled with Atom. Use them to test syntax highlighting when creating a theme.
- Open your theme in Atom.
- Clone or download this repo.
- 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.
- Now, click through
languages
files to make sure all languages are supported.
Left: Make changes to your theme. Right: See the changes applied to all Atom core 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
Contributions are greatly appreciated. Please fork this repository and open a pull request to improve the examples.
Each language file comes with two sections:
-
A simple example of the language. Its purpose is to show a typical use case and get a quick overall impression.
-
If needed more examples or tests can be added. Or maybe show a few edge cases.