Pinned Loading
-
-
-
gatsby-django-portfolio
gatsby-django-portfolio PublicA beautiful and flexible portfolio for displaying your work. Powered by Gatsby and Django.
JavaScript 1
-
Convert HTML to Shopify metafield ri...
Convert HTML to Shopify metafield rich text object JSON using Python and BeautifulSoup 1from bs4 import BeautifulSoup
2import json
3html = """<p>This is a paragraph with a <a href="https://www.github.com">link</a></p><ul><li>one</li><li>two</li><li>three</li></ul>"""
45def serialize_to_rich_text(soup = False, html = False, root = False, level = 0):
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.