Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save critterverse/bfa85ba5ea8626d6634e2aeab785cbc1 to your computer and use it in GitHub Desktop.
Save critterverse/bfa85ba5ea8626d6634e2aeab785cbc1 to your computer and use it in GitHub Desktop.
Block markup for Cover with Audio Pattern submission
<!-- wp:cover {"url":"http://localhost:8888/chantestsite/wp-content/uploads/2021/06/mountain-multicolor.jpg","id":1914,"dimRatio":0,"minHeight":853,"minHeightUnit":"px","style":{"color":{}}} -->
<div class="wp-block-cover" style="min-height:853px"><img class="wp-block-cover__image-background wp-image-1914" alt="" src="http://localhost:8888/chantestsite/wp-content/uploads/2021/06/mountain-multicolor.jpg" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:spacer {"height":40} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:paragraph {"align":"center","style":{"color":{"text":"#0f0936"}},"fontSize":"small"} -->
<p class="has-text-align-center has-text-color has-small-font-size" style="color:#0f0936"><strong>TRAVELOGUE EP. 5</strong></p>
<!-- /wp:paragraph -->
<!-- wp:spacer {"height":2} -->
<div style="height:2px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:heading {"textAlign":"center","style":{"color":{"text":"#0f0936"}}} -->
<h2 class="has-text-align-center has-text-color" style="color:#0f0936"><a href="http://example-post" data-type="URL" data-id="example-post">Views from the top</a></h2>
<!-- /wp:heading -->
<!-- wp:spacer {"height":460} -->
<div style="height:460px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:audio {"id":1824} -->
<figure class="wp-block-audio"><audio controls src="http://localhost:8888/chantestsite/wp-content/uploads/2021/06/RJD203-1976-1.mp3"></audio></figure>
<!-- /wp:audio --></div></div>
<!-- /wp:cover -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment