Skip to content

Define a render/HTML module and protocol #6

@wulymammoth

Description

@wulymammoth

If we follow what the other Prismic SDK's provide out of the box, we should provide a way to render mark-up.

We can absolve each fragment of rendering responsibilities by creating a module whose responsibility is to take a fragment struct and rendering safe HTML string with it.

Alternatively, we could also just implement the Phoenix.HTML protocol for each fragment :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions