Swiftpack.co - insidegui/TwitterPublishPlugin as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by insidegui.
insidegui/TwitterPublishPlugin 0.2.0
A plugin for Publish that let's you easily embed tweets in your posts.
⭐️ 69
🕓 1 week ago
macOS
.package(url: "https://github.com/insidegui/TwitterPublishPlugin.git", from: "0.2.0")

TwitterPublishPlugin

A plugin for Publish that let's you easily embed tweets in your posts.

To embed a tweet in your post, use a blockquote in markdown, but add the "tweet" prefix, like so:

> tweet https://twitter.com/_inside/status/1049808231818760192

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

try mysite().publish(using: [
    .installPlugin(.twitter()),
    // ...
])

GitHub

link
Stars: 69
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Dependencies

Release Notes

Version 0.2.0
1 week ago

Updated to support the latest version of Publish and Swift tools.

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