Tweet Widget

Activate a GitPitch Paid Plan to unlock Tweet Widget support.

Tweet Widget

To render a Tweet on any slide you can use the @tweet widget. Using the following syntax in your PITCHME.md markdown file:

@tweet[https-url-to-tweet]


Here is a markdown snippet demonstrating actual usage:

---

@snap[west h3-white span-50]
### @fa[calendar] Dec 15, 2018
@snapend

@snap[east span-50]
@snapend



This markdown snippet renders as follows:

Note the use of the span class to constrain the width, and consequently the height, of the rendered Tweet. This technique is recommended to ensure that your Tweets fit properly on your slides.

Tweet Offline Support

Rendering a Tweet is dependent on content served by twitter.com. As such, if you are developing or presenting a slide deck when offline the content of your Tweet will not be available for rendering on your slide.

GitPitch attempts to handle this gracefully by automatically replacing the fully rendered Tweet card with a simple link to the Tweet online. Once Internet access has been restored, the fully rendered Twitter card will be displayed once again.

Tweet Browser Content Blocking

Modern Web browsers offer sophisticated content blocking policies, which include smart tracking protection. In most cases, this is a very good thing for end-users.