{"id":1914,"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:\/\/blog.zhdk.ch\/wordpress\/blocks-formatting\/","title":{"rendered":"Block category: Formatting"},"content":{"rendered":"\n<p>The formatting category includes the following blocks:<\/p>\n\n\n<pre class=\"wp-block-code\"><code>The code block starts with\n&lt;!-- wp:code --&gt;\n&lt;?php echo 'Hello World'; ?&gt;\n<\/code><\/pre>\n\n<p>The classic block can have <em>almost<\/em> anything in it.<\/p>\n<hr \/>\n<h6>a heading<\/h6>\n\n<div style=\"width: 45%\">The custom HTML block lets you put HTML that isn&#8217;t configured like blocks in it. (this div has a width of 45%)<\/div>\n\n\n<pre class=\"wp-block-preformatted\">The preformatted block.<br \/><br \/>The Road Not Taken<br \/><br \/>Robert Frost <br \/>Two roads diverged in a yellow wood,<br \/>And sorry I could not travel both          (\\_\/)  <br \/>And be one traveler, long I stood         (='.'=)  <br \/>And looked down one as far as I could     (\")_(\")  <br \/>To where it bent in the undergrowth; <br \/><br \/>Then took the other, as just as fair,  <br \/>And having perhaps the better claim,          |\\_\/|  <br \/>Because it was grassy and wanted wear;       \/ @ @ \\  <br \/>Though as for that the passing there        ( &gt; \u00ba &lt; )  <br \/>Had worn them really about the same,         `&gt;&gt;x&lt;&lt;\u00b4  <br \/>                                             \/  O  \\  <br \/>And both that morning equally lay  <br \/>In leaves no step had trodden black.  <br \/>Oh, I kept the first for another day!  <br \/>Yet knowing how way leads on to way,  <br \/>I doubted if I should ever come back.  <br \/>I shall be telling this with a sigh  <br \/>Somewhere ages and ages hence:  <br \/>Two roads diverged in a wood, and I\u2014  <br \/>I took the one less traveled by,  <br \/>And that has made all the difference.  <br \/><br \/><br \/><br \/>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;<br \/><\/pre>\n\n\n<figure class=\"wp-block-pullquote\"><blockquote><p>The pull quote can be aligned or wide or neither.<\/p><cite>Theme Reviewer<\/cite><\/blockquote><\/figure>\n\n\n<figure class=\"wp-block-table\"><table class=\"\"><tbody><tr><td>The table block<\/td><td>This is the default style.<\/td><\/tr><tr><td><\/td><td>The cell next to this is empty.<\/td><\/tr><tr><td>Cell #5<br \/><\/td><td>Cell #6<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-fixed-layout\"><tbody><tr><td>This is the striped style.<\/td><td>This row should have a background color.<\/td><\/tr><tr><td>The cell next to this is empty.<\/td><td><br \/><br \/><\/td><\/tr><tr><td><\/td><td>This table has fixed width table cells.<br \/><\/td><\/tr><tr><td><br \/>Make sure that the text wraps correctly.<br \/><br \/><\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<pre class=\"wp-block-verse\">The Verse block<br \/><br \/>A block for haiku? <br \/>  Why not? <br \/>    Blocks for all the things!<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;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 &hellip; <a href=\"https:\/\/blog.zhdk.ch\/wordpress\/blocks-formatting\/\" class=\"more-link\"><span class=\"screen-reader-text\">Block category: Formatting<\/span> weiterlesen<\/a><\/p>\n","protected":false},"author":4030,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[582256],"tags":[582406,582440],"class_list":["post-1914","post","type-post","status-publish","format-standard","hentry","category-block","tag-content-2","tag-formatting-2"],"_links":{"self":[{"href":"https:\/\/blog.zhdk.ch\/wordpress\/wp-json\/wp\/v2\/posts\/1914","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.zhdk.ch\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zhdk.ch\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zhdk.ch\/wordpress\/wp-json\/wp\/v2\/users\/4030"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zhdk.ch\/wordpress\/wp-json\/wp\/v2\/comments?post=1914"}],"version-history":[{"count":0,"href":"https:\/\/blog.zhdk.ch\/wordpress\/wp-json\/wp\/v2\/posts\/1914\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.zhdk.ch\/wordpress\/wp-json\/wp\/v2\/media?parent=1914"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zhdk.ch\/wordpress\/wp-json\/wp\/v2\/categories?post=1914"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zhdk.ch\/wordpress\/wp-json\/wp\/v2\/tags?post=1914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}