Swiftpack.co - CoolONEOfficial/TinySliderPublishPlugin as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by CoolONEOfficial.
CoolONEOfficial/TinySliderPublishPlugin 0.1.5
Plugin with TinySlider that allows you to embed the slider with pictures in your posts
⭐️ 2
🕓 41 weeks ago
iOS macOS
.package(url: "https://github.com/CoolONEOfficial/TinySliderPublishPlugin.git", from: "0.1.5")

TinySliderPublishPlugin

A plugin for Publish that let's you easily use TinySlider in your posts.

To embed a slider in your post, use a list with images in markdown, but add the config at first list item, like so:

...

1. { "items": 2, "slideBy": "page", "mouseDrag": true, "swipeAngle": false, "controls": false, "nav": false}
2. ![one](https://raw.github.com/CoolONEOfficial/TinySliderPublishPlugin/master//img/one.jpg)
3. ![two](https://raw.github.com/CoolONEOfficial/TinySliderPublishPlugin/master//img/two.jpg)

...

To install the plugin, add it to your site's publishing steps:

try mysite().publish(using: [
.tinySlider(jsPath: "/modules/tiny-slider/src/tiny-slider.js"),
    // ...
])

GitHub

link
Stars: 2
Last commit: 41 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Dependencies

Release Notes

0.1.5 Added minimized images config
41 weeks ago

0.1.5 Added minimized images config

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