addisonhall / language-antlers

Atom syntax highlighting for Statamic!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Antlers" Statamic syntax highlighting for Atom

screenshot

This started as a weekend project to bring Statamic tag syntax highlighting to Sublime Text. I pulled a lot of the information for this from this ExpressionEngine bundle: https://github.com/fcgrx/ExpressionEngine2-Sublime-Text-3-Bundle and looking at this documentation: http://docs.sublimetext.info/en/latest/extensibility/syntaxdefs.html. In all honesty, I still don't understand why much of the syntax works. I was able to port the Sublime Text version over to Atom. I have a much better understanding of how grammars work now, so future versions should work much better.

I called this Antlers because it was just fun... I mean, heck... everything about Statamic is fun.

What is Statamic?

Statamic (http://statamic.com) is a no-database, flat-file content management system that is far more capable than you would ever expect it to be. It's crazy fun to develop with as well.

Support for Version 2

The syntax should now work for most (nearly all?) Statamic 2 tags, parameters and variables. There are now three text files in the repo to help keep up with all of these goodies.

To do

I still need to add some stuff for the Raven and Bloodhound add-ons (http://statamic.com/add-ons). Statamic version 2 is on the way, and Raven and Bloodhound are now built-in, so the need for this may change.

About

Atom syntax highlighting for Statamic!