Kreuzcrawl.ImageSource (kreuzcrawl v0.3.0-rc.37)

Copy Markdown

The source of an image reference.

Summary

Types

t()

The source of an image reference.

Functions

An <img> tag.

An og:image meta tag.

A <source> tag inside <picture>.

A twitter:image meta tag.

Types

t()

@type t() :: :img | :picture_source | :"og:image" | :"twitter:image"

The source of an image reference.

Functions

img()

@spec img() :: t()

An <img> tag.

og_image()

@spec og_image() :: t()

An og:image meta tag.

picture_source()

@spec picture_source() :: t()

A <source> tag inside <picture>.

twitter_image()

@spec twitter_image() :: t()

A twitter:image meta tag.