{"id":1732,"date":"2018-11-01T06:03:22","date_gmt":"2018-11-01T06:03:22","guid":{"rendered":"https:\/\/wpthemetestdata.wordpress.com\/?p=1732"},"modified":"2018-11-01T06:03:22","modified_gmt":"2018-11-01T06:03:22","slug":"blocks-formatting","status":"publish","type":"post","link":"https:\/\/demo.moralthemes.com\/lawman-pro-portfolio\/2018\/11\/01\/blocks-formatting\/","title":{"rendered":"Block category: Formatting"},"content":{"rendered":"\n

The formatting category includes the following blocks:<\/p>\n\n\n\n

The code block starts with\n<!-- wp:code -->\n<?php echo 'Hello World'; ?>\n<\/code><\/pre>\n\n\n

The classic block can have almost<\/em> anything in it.<\/p>\n


\n
a heading<\/h6>\n\n\n
The custom HTML block lets you put HTML that isn’t configured like blocks in it. (this div has a width of 45%)<\/div>\n\n\n\n
The preformatted block.

The Road Not Taken

Robert Frost
Two roads diverged in a yellow wood,
And sorry I could not travel both (_\/)
And be one traveler, long I stood (='.'=)
And looked down one as far as I could (\")_(\")
To where it bent in the undergrowth;

Then took the other, as just as fair,
And having perhaps the better claim, |_\/|
Because it was grassy and wanted wear; \/ @ @
Though as for that the passing there ( > \u00ba < )
Had worn them really about the same, `>>x<<\u00b4
\/ O
And both that morning equally lay
In leaves no step had trodden black.
Oh, I kept the first for another day!
Yet knowing how way leads on to way,
I doubted if I should ever come back.
I shall be telling this with a sigh
Somewhere ages and ages hence:
Two roads diverged in a wood, and I\u2014
I took the one less traveled by,
And that has made all the difference.



and here's a line of some really, really, really, really long text, just to see how it is handled and to find out how it overflows;
<\/pre>\n\n\n\n

The pull quote can be aligned or wide or neither.<\/p>Theme Reviewer<\/cite><\/blockquote><\/figure>\n\n\n\n

The table block<\/td>This is the default style.<\/td><\/tr>
<\/td>The cell next to this is empty.<\/td><\/tr>
Cell #5
<\/td>
Cell #6<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n
This is the striped style.<\/td>This row should have a background color.<\/td><\/tr>
The cell next to this is empty.<\/td>

<\/td><\/tr>
<\/td>This table has fixed width table cells.
<\/td><\/tr>

Make sure that the text wraps correctly.

<\/td>
<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n
The Verse block

A block for haiku?
Why not?
Blocks for all the things!<\/pre>\n","protected":false},"excerpt":{"rendered":"

The formatting category includes the following blocks: The classic block can have almost anything in it. a heading The custom HTML block lets you put HTML that isn’t configured like blocks in it. (this div has a width of 45%) The preformatted block.The Road Not TakenRobert Frost Two roads diverged in a yellow wood,And sorry I could not travel both […]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[68],"class_list":["post-1732","post","type-post","status-publish","format-standard","hentry","category-block","tag-formatting-2"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/demo.moralthemes.com\/lawman-pro-portfolio\/wp-json\/wp\/v2\/posts\/1732"}],"collection":[{"href":"https:\/\/demo.moralthemes.com\/lawman-pro-portfolio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demo.moralthemes.com\/lawman-pro-portfolio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/demo.moralthemes.com\/lawman-pro-portfolio\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.moralthemes.com\/lawman-pro-portfolio\/wp-json\/wp\/v2\/comments?post=1732"}],"version-history":[{"count":0,"href":"https:\/\/demo.moralthemes.com\/lawman-pro-portfolio\/wp-json\/wp\/v2\/posts\/1732\/revisions"}],"wp:attachment":[{"href":"https:\/\/demo.moralthemes.com\/lawman-pro-portfolio\/wp-json\/wp\/v2\/media?parent=1732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demo.moralthemes.com\/lawman-pro-portfolio\/wp-json\/wp\/v2\/categories?post=1732"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demo.moralthemes.com\/lawman-pro-portfolio\/wp-json\/wp\/v2\/tags?post=1732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}