Home

Awesome

splashtag

This is a custom liquid tag for using John Sundell's excellent Swift syntax highlighter Splash with your Jekyll blog.

Prerequisites

Installation

_plugins/splashtag.rb

_base.scss
_layout.scss
_splash.scss            
_syntax-highlighting.scss
@import
  "minima/base",
  ...
  ...
  "minima/splash"
;

Usage

{% splash %}
guard let user = User(name: "Dohn Joe", emailAddress: validAddress) else {
    return
}
{% endsplash %}

An example of this tag in action can be seen here