{"id":198,"date":"2011-08-24T08:32:07","date_gmt":"2011-08-24T00:32:07","guid":{"rendered":"http:\/\/ykyi.net\/?p=198"},"modified":"2011-08-24T08:32:07","modified_gmt":"2011-08-24T00:32:07","slug":"syntax-highlight-in-ddd-ddd%e7%9a%84%e8%af%ad%e6%b3%95%e9%ab%98%e4%ba%ae","status":"publish","type":"post","link":"https:\/\/ykyi.net\/?p=198","title":{"rendered":"Syntax Highlight in DDD DDD\u7684\u8bed\u6cd5\u9ad8\u4eae"},"content":{"rendered":"<p>\u8fd9\u51e0\u5929\u7528DDD\u8c03\u8bd5linux\u4e0b\u7684\u7a0b\u5e8f.\u53d1\u73b0DDD\u6ca1\u6709\u8bed\u6cd5\u9ad8\u4eae~<br \/>\n\u4e8e\u662fgoogle\u4e86\u4e00\u4e0b\u3002\u60b2\u5267\u5730\u53d1\u73b0\u4e00\u4e2a\u8d34\u5b50:<\/p>\n<p>Hello!<\/p>\n<p>Is it possible to enable syntax highlighting in DDD?<br \/>\nI searched through the Google and found this answer:<br \/>\n\u53ef\u4ee5\u5728DDD\u91cc\u5f00\u542f\u8bed\u6cd5\u9ad8\u4eae\u5417\uff1f\u6211\u7528\u8c37\u6b4c\u641c\u7d22\u540e\u53d1\u73b0\u8fd9\u4e2a\u7b54\u6848\u3002<\/p>\n<p>Sorry, no, this isn&#8217;t possible.<br \/>\nThe biggest problem is that Motif&#8217;s text widget doesn&#8217;t<br \/>\nsupport multiple colours, and would have to be replaced.<br \/>\nThat would be an enormous job.<br \/>\n\u4e0d\u597d\u610f\u601d\u3002\u6ca1\u6709\uff01\u8fd9\u4e0d\u53ef\u80fd.<br \/>\n\u6700\u5927\u7684\u95ee\u9898\u662fMotif\u7684\u6587\u672c\u63a7\u4ef6\u4e0d\u652f\u6301\u591a\u5f69\u663e\u793a\uff0c\u5fc5\u987b\u628amotif\u66ff\u6362\u6389.<br \/>\n\u8fd9\u4e0d\u662f\u4e00\u4e2a\u666e\u901a\u7684\/\u7b80\u5355\u7684\u4efb\u52a1.<\/p>\n<p>\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/<br \/>\n\u60b2\u5267\u554a\uff01\uff01\uff01\u5728\u9ed1\u767d\u7684Linux\u4e16\u754c\u3002&#8230;&#8230;&#8230;..<\/p>\n<p>Is it still impossible (post date is Thu, 10 Feb 2005)?<br \/>\nAre there any workarounds\/patches\/forks?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u51e0\u5929\u7528DDD\u8c03\u8bd5linux\u4e0b\u7684\u7a0b\u5e8f.\u53d1\u73b0DDD\u6ca1\u6709\u8bed\u6cd5\u9ad8\u4eae~ \u4e8e\u662fgoogle\u4e86\u4e00\u4e0b\u3002\u60b2\u5267\u5730\u53d1\u73b0\u4e00\u4e2a\u8d34\u5b50: Hello! Is it possible to enable syntax highlighting in DDD? I searched through the Google and found this answer: \u53ef\u4ee5\u5728DDD\u91cc\u5f00\u542f\u8bed\u6cd5\u9ad8\u4eae\u5417\uff1f\u6211\u7528\u8c37\u6b4c\u641c\u7d22\u540e\u53d1\u73b0\u8fd9\u4e2a\u7b54\u6848\u3002 Sorry, no, this isn&#8217;t possible. The biggest problem is that Motif&#8217;s text widget doesn&#8217;t support multiple colours, and would have to be replaced. That would be an enormous job. \u4e0d\u597d\u610f\u601d\u3002\u6ca1\u6709\uff01\u8fd9\u4e0d\u53ef\u80fd. \u6700\u5927\u7684\u95ee\u9898\u662fMotif\u7684\u6587\u672c\u63a7\u4ef6\u4e0d\u652f\u6301\u591a\u5f69\u663e\u793a\uff0c\u5fc5\u987b\u628amotif\u66ff\u6362\u6389. \u8fd9\u4e0d\u662f\u4e00\u4e2a\u666e\u901a\u7684\/\u7b80\u5355\u7684\u4efb\u52a1. \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ &hellip; <a href=\"https:\/\/ykyi.net\/?p=198\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Syntax Highlight in DDD DDD\u7684\u8bed\u6cd5\u9ad8\u4eae&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,7],"tags":[24],"class_list":["post-198","post","type-post","status-publish","format-standard","hentry","category-tech_articles","category-unix_linux","tag-ddd"],"_links":{"self":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/posts\/198","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=198"}],"version-history":[{"count":0,"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/posts\/198\/revisions"}],"wp:attachment":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}