Twittertex (twittertex v0.4.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 Types
Link to this type
opt()
Specs
opt() :: {:link_opts, Keyword.t()}
Link to this type
opts()
Specs
opts() :: [opt()]
Link to this section Functions
Link to this function
format_classic_tweet(tweet, opts \\ [])
Specs
Formats a classic (non-extended) tweet into HTML.
Returns a String of HTML.
Link to this function
format_extended_tweet(tweet, opts \\ [])
Specs
Formats an extended tweet into HTML.
Returns a String of HTML.
Link to this function
format_tweet(tweet, opts \\ [])
Specs
Formats a tweet (classic or extended) into HTML.
Returns a String of HTML.