Embedding Tweets in Kirby’s Markdown

After an unsuccessful attempt to embed tweets in an article on my blog, Bastian found out that Parsedown somehow has an issue with the widget script that comes with every embedded tweet.
A quick workaround to solve this issue is to remove Twitter’s wi…


This content originally appeared on foobartel.com :: Stream and was authored by foobartel.com :: Stream

After an unsuccessful attempt to embed tweets in an article on my blog, Bastian found out that Parsedown somehow has an issue with the widget script that comes with every embedded tweet.

A quick workaround to solve this issue is to remove Twitter's widget script from each tweet and move it into either the header/footer of the page or to paste it at the end of the page content in your markdown field.

Whereas the header or footer would probably be the “more correct” locations to place the script, it would load on every page, even pages with no embedded tweets. To solve this, you could put the script into a snippet, add a checkbox to the page and load the script only when you add embedded tweets to a page. Either way, for today, I went with the easy and quick fix.


This content originally appeared on foobartel.com :: Stream and was authored by foobartel.com :: Stream


Print Share Comment Cite Upload Translate Updates
APA

foobartel.com :: Stream | Sciencx (2016-05-16T22:00:00+00:00) Embedding Tweets in Kirby’s Markdown. Retrieved from https://www.scien.cx/2016/05/16/embedding-tweets-in-kirbys-markdown/

MLA
" » Embedding Tweets in Kirby’s Markdown." foobartel.com :: Stream | Sciencx - Monday May 16, 2016, https://www.scien.cx/2016/05/16/embedding-tweets-in-kirbys-markdown/
HARVARD
foobartel.com :: Stream | Sciencx Monday May 16, 2016 » Embedding Tweets in Kirby’s Markdown., viewed ,<https://www.scien.cx/2016/05/16/embedding-tweets-in-kirbys-markdown/>
VANCOUVER
foobartel.com :: Stream | Sciencx - » Embedding Tweets in Kirby’s Markdown. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2016/05/16/embedding-tweets-in-kirbys-markdown/
CHICAGO
" » Embedding Tweets in Kirby’s Markdown." foobartel.com :: Stream | Sciencx - Accessed . https://www.scien.cx/2016/05/16/embedding-tweets-in-kirbys-markdown/
IEEE
" » Embedding Tweets in Kirby’s Markdown." foobartel.com :: Stream | Sciencx [Online]. Available: https://www.scien.cx/2016/05/16/embedding-tweets-in-kirbys-markdown/. [Accessed: ]
rf:citation
» Embedding Tweets in Kirby’s Markdown | foobartel.com :: Stream | Sciencx | https://www.scien.cx/2016/05/16/embedding-tweets-in-kirbys-markdown/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.