Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

splashtag

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

Prerequisites

  • A global install of the SplashHTMLGen tool on the same computer as your Jekyll installation.

Installation

  • Put the splashtag.rb file in the _plugins folder of your Jekyll repository

_plugins/splashtag.rb

  • Put the _splash.scss file in the _sass folder of your Jekyll repository. For example, if you're overriding the Minima theme, put it in the _sass/minima folder
_base.scss
_layout.scss
_splash.scss            
_syntax-highlighting.scss
  • Then import it as follows in the minima.scss file
@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

About

Custom liquid tag for using John Sundell's excellent Swift syntax highlighter Splash with your Jekyll blog.

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.