Skip to content

This package converts the rich text JSON object returned by Shopify's Storefront API to an HTMLElement.

License

Notifications You must be signed in to change notification settings

ffs-beauty/shopify-richtext-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shopify-richtext-html

This package converts Shopify's Rich Text Metafields to an HTMLElement.

Usage

const input = {...};
const richtext = renderRichText(input);
document.body.append(richtext);

About

This package converts the rich text JSON object returned by Shopify's Storefront API to an HTMLElement.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published