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: 5 months 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 (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-19T16:25:55.000Z (almost 3 years ago)
- Last Synced: 2024-08-02T07:02:04.168Z (9 months ago)
- Topics: publish-plugin
- Language: Swift
- Size: 9.77 KB
- Stars: 69
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-publish - Twittern
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()),
// ...
])
```