Swiftpack.co - JohnSundell/SplashPublishPlugin as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by JohnSundell.
JohnSundell/SplashPublishPlugin 0.2.0
A Splash plugin for the Publish static site generator
⭐️ 86
🕓 2 weeks ago
.package(url: "https://github.com/JohnSundell/SplashPublishPlugin.git", from: "0.2.0")

Splash plugin for Publish

A Publish plugin that makes it easy to integrate the Splash Swift syntax highlighter into any Publish website.


To install it into your Publish package, add it as a dependency within your Package.swift manifest:

let package = Package(
    dependencies: [
        .package(name: "SplashPublishPlugin", url: "https://github.com/johnsundell/splashpublishplugin", from: "0.1.0")
    targets: [
            dependencies: [

Then import SplashPublishPlugin wherever you’d like to use it:

import SplashPublishPlugin

For more information on how to use the Swift Package Manager, check out this article, or its official documentation.


The plugin can then be used within any publishing pipeline like this:

import SplashPublishPlugin
try DeliciousRecipes().publish(using: [
    .installPlugin(.splash(withClassPrefix: "classPrefix"))


Stars: 86
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

2 weeks ago

This release makes this plugin fully compatible with Publish 0.9.0.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics