This is a custom liquid tag for using John Sundell's excellent Swift syntax highlighter Splash with your Jekyll blog.
splashtag.rb
file in the _plugins folder of your Jekyll repository_plugins/splashtag.rb
_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
minima.scss
file@import
"minima/base",
...
...
"minima/splash"
;
{% splash %}
guard let user = User(name: "Dohn Joe", emailAddress: validAddress) else {
return
}
{% endsplash %}
An example of this tag in action can be seen here