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. 
3. 
...
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"),
// ...
])
link |
Stars: 2 |
Last commit: 1 week ago |
Publish 0.9.0 support
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics