{"id":220888,"date":"2011-07-15T08:00:00","date_gmt":"2011-07-15T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/wysiwyg-inline-code-command\/"},"modified":"2015-01-03T05:41:00","modified_gmt":"2015-01-03T05:41:00","slug":"wysiwyg-inline-code-command","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/wysiwyg-inline-code-command\/","title":{"rendered":"WYSIWYG Inline Code Command"},"content":{"rendered":"<p>The WYSIWYG Inline Code Command plugin adds an \u201cinline code\u201d command to the<br \/>\nWYSIWYG (visual) post and page editor. It\u2019s just like the \u201cBold\u201d or \u201cItalics\u201d<br \/>\ncommands, except that it makes your text look like code \u2014 usually, this means<br \/>\nthat it\u2019s drawn in a monospace font <code>like this<\/code>. The comand is accessible as a<br \/>\nbutton and with the keybinding <code>Alt-Shift-C<\/code>.<\/p>\n<p>The unmodified editor does provide a <code>pre<\/code> style that\u2019s somewhat similar, but<br \/>\nit\u2019s a <em>block<\/em> style, which means that you can only apply it to whole<br \/>\nparagraphs. I wrote this plugin because I found that I often want to apply<br \/>\ncode styling to shorter pieces of computer-y content, such as the<br \/>\n    Alt-Shift-C above.<\/p>\n<p>I encourage you to provide feedback about this plugin. Entries on the<br \/>\ncompatibility matrix are especially helpful so that people can feel confident<br \/>\ninstalling it. Thanks!<\/p>\n<p>The WYSIWIG Inline Code Command plugin provides precisely this one feature, so<br \/>\ndon\u2019t expect it to be updated very often. One issue that I\u2019m aware but don\u2019t<br \/>\nknow quite how to fix is that the user-visible text describing the command in<br \/>\nthe editor isn\u2019t internationalized.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adds a button and keybinding to the WYSIWYG (visual) editor to mark<br \/>\ntext as inline code.<\/p>\n","protected":false},"author":65,"featured_media":391763,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"WYSIWYG Inline Code Command - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Adds a button and keybinding to the WYSIWYG (visual) editor to mark text as inline code."},"footnotes":""},"categories":[1],"tags":[1282,574,9119,1317],"class_list":["post-220888","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-code","tag-editor","tag-visual","tag-wysiwyg"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/220888","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=220888"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/220888\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/391763"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=220888"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=220888"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=220888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}