rob-murray / jekyll-twitter-plugin

A Liquid tag plugin for the Jekyll blogging engine that embeds Tweets, Timelines and more from Twitter API
MIT License
238 stars 30 forks source link

Allow customisation of content via options #2

Closed rob-murray closed 10 years ago

rob-murray commented 10 years ago

The previous plugin enabled you to pass extra options to Twitter API via KV pairs to customise the appearance of the content to be rendered.

{% request etc... align='right' width='350' %}

Grab everything after the N required arguments as optional params and pass to the Twitter API.

So, in the form of an Oembed request like this below would get the correctly specified content.

{% twitter oembed https://twitter.com/rubygems/status/518821243320287232 align='right' width='350' %}