View Source Mobilizon.GraphQL.API.Utils (Mobilizon v4.1.0-alpha.1)
Utils for API.
Summary
Functions
Use the data-media-id attributes to extract media from body text
Creates HTML content from text and mentions
Functions
@spec extract_pictures_from_body(String.t(), integer() | String.t()) :: [ Mobilizon.Medias.Media.t() ]
Use the data-media-id attributes to extract media from body text
Creates HTML content from text and mentions