https://github.com/insidegui/twitterpublishplugin
A plugin for Publish that let's you easily embed tweets in your posts.
https://github.com/insidegui/twitterpublishplugin
publish-plugin
Last synced: about 1 month ago
JSON representation
A plugin for Publish that let's you easily embed tweets in your posts.
- Host: GitHub
- URL: https://github.com/insidegui/twitterpublishplugin
- Owner: insidegui
- License: bsd-2-clause
- Created: 2020-02-20T16:06:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-19T16:25:55.000Z (almost 3 years ago)
- Last Synced: 2025-04-21T08:13:45.130Z (about 2 months ago)
- Topics: publish-plugin
- Language: Swift
- Size: 9.77 KB
- Stars: 70
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TwitterPublishPlugin
A plugin for [Publish](https://github.com/JohnSundell/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:
```swift
try mysite().publish(using: [
.installPlugin(.twitter()),
// ...
])
```