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

Auto detect tweet URL in Markdown files #16

Closed nhoizey closed 7 years ago

nhoizey commented 8 years ago

Even better than #12, it would be nice if we could set the plugin to find tweet URLs in Markdown files without any specific syntax.

Inspired by https://github.com/takuti/jekyll-lazy-tweet-embedding/blob/master/lazy_tweet_embedding.rb

rob-murray commented 8 years ago

Nice idea, I will have a look at that code.

I would expect this if implemented to be in addition to explicitly specifying the Tweet via the tag.

nhoizey commented 8 years ago

I agree it's an additional feature, at least for forward compatibility, and it might even be activated only via a setting

rob-murray commented 7 years ago

I've had a look at the code to implement this and it's not an option I want to add to this library:

nhoizey commented 7 years ago

Well, I still think it would have been interesting, but I understand.

I will now use the plugin I mentioned in the initial issue description.