{"id":18165306,"date":"2024-11-27T18:25:12","date_gmt":"2024-11-27T18:25:12","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/code-markup\/"},"modified":"2024-11-27T18:25:12","modified_gmt":"2024-11-27T18:25:12","slug":"code-markup","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/code-markup\/","title":{"rendered":"Code Markup"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I wanted to write a snippet of code in a note, and the markup for that doesn&#8217;t seem to work.  The formatting of the code comes out on one line, instead of the indented, multi-line stuff I typed in. <br \/><br \/>I tried the three ways I know in markdown to do code<br \/>&#8211; at least 4 spaces preceding each line<br \/>&#8211; 3 tildas<br \/>&#8211; 3 backticks<br \/><br \/>None worked. <\/p>\n","protected":false},"template":"","class_list":["post-18165306","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18165306","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18165306\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18165306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}