Twittertex (twittertex v0.3.0)

Twittertex formats the raw JSON of a tweet into HTML by reconstructing pretty links and so on from the entities embedded.

Link to this section Summary

Functions

Formats a classic (non-extended) tweet into HTML.

Formats an extended tweet into HTML.

Formats a tweet (classic or extended) into HTML.

Link to this section Functions

Link to this function

format_classic_tweet(tweet)

Specs

format_classic_tweet(%{}) :: String.t()

Formats a classic (non-extended) tweet into HTML.

Returns a String of HTML.

Link to this function

format_extended_tweet(tweet)

Specs

format_extended_tweet(%{}) :: String.t()

Formats an extended tweet into HTML.

Returns a String of HTML.

Link to this function

format_tweet(tweet)

Specs

format_tweet(%{}) :: String.t()

Formats a tweet (classic or extended) into HTML.

Returns a String of HTML.