{"id":38,"date":"2019-01-23T14:57:53","date_gmt":"2019-01-23T14:57:53","guid":{"rendered":"https:\/\/integrations.pressbooks.network\/integrationtests\/chapter\/code-pre\/"},"modified":"2023-07-19T16:52:08","modified_gmt":"2023-07-19T16:52:08","slug":"code-pre","status":"publish","type":"chapter","link":"https:\/\/integrations.pressbooks.network\/integrationtests\/chapter\/code-pre\/","title":{"raw":"Code \/ Pre","rendered":"Code \/ Pre"},"content":{"raw":"Oh no! I wrote something incorrectly. <del>I'd better delete it<\/del>, using the <code>&lt;del&gt;<\/code> tag. I could alternately <span style=\"text-decoration: line-through\">strike something out<\/span> using the <code>&lt;strike&gt;<\/code> tag, or strike something out using the <code>&lt;s&gt;<\/code> tag. <em>So many choices<\/em>, which I emphasize using the <code>&lt;em&gt;<\/code> tag. Just to clarify, <ins>this is some inserted text<\/ins>, that I'll highlight using the <code>&lt;ins&gt;<\/code> tag.\n\nNeed to display completely unformatted text, such as a large block of code? Use the <code>&lt;pre&gt;<\/code> tag, which lets you display:\n<pre>#container {\n   float: left;\n   margin: 0 -240px 0 0;\n   width: 100%;\n}<\/pre>\nWant to quote the WordPress tagline <q>Code is Poetry<\/q>? Use the <code>&lt;q&gt;<\/code> tag to add quotes around it. <strong>This is strong text<\/strong> (otherwise known as bold), using the <code>&lt;strong&gt;<\/code> tag.","rendered":"<p>Oh no! I wrote something incorrectly. <del>I&#8217;d better delete it<\/del>, using the <code>&lt;del&gt;<\/code> tag. I could alternately <span style=\"text-decoration: line-through\">strike something out<\/span> using the <code>&lt;strike&gt;<\/code> tag, or strike something out using the <code>&lt;s&gt;<\/code> tag. <em>So many choices<\/em>, which I emphasize using the <code>&lt;em&gt;<\/code> tag. Just to clarify, <ins>this is some inserted text<\/ins>, that I&#8217;ll highlight using the <code>&lt;ins&gt;<\/code> tag.<\/p>\n<p>Need to display completely unformatted text, such as a large block of code? Use the <code>&lt;pre&gt;<\/code> tag, which lets you display:<\/p>\n<pre>#container {\n   float: left;\n   margin: 0 -240px 0 0;\n   width: 100%;\n}<\/pre>\n<p>Want to quote the WordPress tagline <q>Code is Poetry<\/q>? Use the <code>&lt;q&gt;<\/code> tag to add quotes around it. <strong>This is strong text<\/strong> (otherwise known as bold), using the <code>&lt;strong&gt;<\/code> tag.<\/p>\n","protected":false},"author":14,"menu_order":7,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[47],"contributor":[],"license":[],"class_list":["post-38","chapter","type-chapter","status-publish","hentry","chapter-type-standard"],"part":24,"_links":{"self":[{"href":"https:\/\/integrations.pressbooks.network\/integrationtests\/wp-json\/pressbooks\/v2\/chapters\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/integrations.pressbooks.network\/integrationtests\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/integrations.pressbooks.network\/integrationtests\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/integrations.pressbooks.network\/integrationtests\/wp-json\/wp\/v2\/users\/14"}],"version-history":[{"count":1,"href":"https:\/\/integrations.pressbooks.network\/integrationtests\/wp-json\/pressbooks\/v2\/chapters\/38\/revisions"}],"predecessor-version":[{"id":39,"href":"https:\/\/integrations.pressbooks.network\/integrationtests\/wp-json\/pressbooks\/v2\/chapters\/38\/revisions\/39"}],"part":[{"href":"https:\/\/integrations.pressbooks.network\/integrationtests\/wp-json\/pressbooks\/v2\/parts\/24"}],"metadata":[{"href":"https:\/\/integrations.pressbooks.network\/integrationtests\/wp-json\/pressbooks\/v2\/chapters\/38\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/integrations.pressbooks.network\/integrationtests\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/integrations.pressbooks.network\/integrationtests\/wp-json\/pressbooks\/v2\/chapter-type?post=38"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/integrations.pressbooks.network\/integrationtests\/wp-json\/wp\/v2\/contributor?post=38"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/integrations.pressbooks.network\/integrationtests\/wp-json\/wp\/v2\/license?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}