Adam Laycock

AboutProjectsContact

Featured Posts

Moving to Gatsby

4th December 2018

Ive moved my site over to Gatsby!

Everything an Option in the Theme

18th August 2016

My aproach to WordPress theme development.

RADIUS With Windows Server 2012R2

22nd July 2016

RADIUS authentication for wireless networks using NAP in Windows Server 2012R2.

Jekyll Atom 1.2.0

1st March 2016

  • Jekyll-Atom

A new version of Jekyll-Atom has just been released!

This version adds some new syntax grammars to Atom to highlight Liquid tags and the YAML front matter.

The Grammars don’t define a massive amount they are essentially just pull in more than one grammar.

{
    'begin': '---'
    'end': '---'
    'patterns': [
        {
            'include': 'source.yaml'
        }
    ]
}

This tells atom that inside --- and --- it should use the source.yaml grammar, then for XML and HTML we just include text.xml and text.html.basic respectively.

Lastly we include text.html.liquid from the language-liquid package. Jekyll-Atom will now warn you if this package is not installed.

JSON does not work anywhere near as well as HTML & XML due it being rather strict and marking most of the liquid tags as illegal characters (which is technically correct). I will revisit it in the future but for now we have partial liquid highlighting, front matter highlighting and that is it.

Jekyll-Atom now hits everything a package can do bar providing a service, making it the one stop shop for Jekyll! It has grown so much from my original package and has become an integral part of my workflow, this blog would not be what it is today without Jekyll-Atom.

Other Posts

Using Jekyll Atom from start to finish

25th February 2016

A whole run through of Jekyll Atom

React

29th March 2016

React in Jekyll!

Adam Laycock
TwitterGitHubDev.toInstagramYouTube
Recent Articles
Disclaimer

All content is my own unless otherwise stated.

My content is licensed under the CC-BY-NC-SA 4.0 license

cc by-nc-sa