{"id":1224,"date":"2019-01-30T14:01:15","date_gmt":"2019-01-30T06:01:15","guid":{"rendered":"http:\/\/www.lonelyword.com\/?p=1224"},"modified":"2019-01-31T09:59:49","modified_gmt":"2019-01-31T01:59:49","slug":"sublimetext%e5%ae%89%e8%a3%85highlight%e6%8f%92%e4%bb%b6","status":"publish","type":"post","link":"http:\/\/www.lonelyword.com\/?p=1224","title":{"rendered":"Sublimetext\u5b89\u88c5highlight\u63d2\u4ef6"},"content":{"rendered":"<p>\u56e0\u4e3a\u8981\u628a\u4e00\u4e9b\u4ee3\u7801\u590d\u5236\u5230word\u6587\u6863\u91cc\uff0c\u76f4\u63a5\u590d\u5236\u7684\u8bdd\uff0c\u4e00\u4e9b\u9ad8\u4eae\u3001\u989c\u8272\u6e32\u67d3\u7684\u64cd\u4f5c\u5728word\u91cc\u5c31\u4f1a\u5931\u6548\uff0c\u76f4\u63a5\u53d8\u6210\u767d\u7eb8\u9ed1\u5b57\uff0c\u6548\u679c\u5dee\u5f88\u591a\u3002\u5728\u7f51\u4e0a\u641c\u4e86\u641c\uff0cSublimetext\u5b89\u88c5<a href=\"https:\/\/github.com\/n1k0\/SublimeHighlight\" >highlight\u63d2\u4ef6<\/a>\u540e\uff0c\u53ef\u4ee5\u591a\u51fa\u4e24\u4e2a\u9009\u9879\uff0c\u4e00\u4e2a\u662f\u201cCopy as RTF\u201d\uff0c\u8fd9\u4e2a\u662f\u53ef\u4ee5\u76f4\u63a5copy\u5230word\u6587\u6863\uff0c\u4e00\u4e2a\u662f\u201cCopy as HTML\u201d\uff0c\u8fd9\u4e2a\u662fcopy\u6210HTML\u6e90\u4ee3\u7801\uff0c\u76f4\u63a5\u653e\u5230HTML\u6587\u4ef6\u91cc<\/p>\n<p>&nbsp;<\/p>\n<p>\u5b89\u88c5\u8981\u4f7f\u7528\u5230<a href=\"https:\/\/packagecontrol.io\" >PackageControl<\/a>\uff0c\u4f46\u8fd9\u4e2a\u7f51\u7ad9\u88ab\u5899\u4e86\uff0c\u56e0\u6b64\u9700\u8981\u7ffb\u5899\uff0c\u4e0b\u8f7dPackage Control.sublime-package\u8fd9\u4e2a\u6587\u4ef6\uff08<a href=\"http:\/\/www.lonelyword.com\/wp-content\/uploads\/2019\/01\/Package Control.sublime-package\" >\u672c\u7f51\u7ad9\u4e0b\u8f7d\u5730\u5740\u514d\u7ffb\u5899<\/a>\uff09\uff0c\u7136\u540e\u70b9\u51fbsublime\u7684Preference&#8211; Browse Packages\uff0c\u6253\u5f00\u6587\u4ef6\u5939\uff0c\u628a\u4e0b\u8f7d\u7684\u6587\u4ef6\u62f7\u8d1d\u5230Installed Packages\u8fd9\u4e2a\u6587\u4ef6\u5939\u4e0b\u9762\uff0c\u7136\u540e\u5173\u95edsublime\u7a0b\u5e8f\uff0c\u5728\u6253\u5f00\uff0c\u5c31\u53ef\u4ee5\u81ea\u52a8\u5b89\u88c5Package Control\u8fd9\u4e2a\u63d2\u4ef6\u4e86\u3002\u5b89\u88c5\u597d\u540e\uff0c\u53ef\u4ee5\u5728Tools\u2014Command Palette\u8f93\u5165Package Control: Install Package\uff0c\u8fd9\u65f6\u5019\u4f1a\u8bfb\u53d6\u7f51\u7ad9\u91cc\u9762\u7684\u4e00\u4e2a<a href=\"http:\/\/www.lonelyword.com\/wp-content\/uploads\/2019\/01\/channel_v3.json\" >channel_v3.json<\/a>\u6587\u4ef6\uff0c\u4f9d\u7136\u662f\u88ab\u5899\u65e0\u6cd5\u4e0b\u8f7d\u3002\u89e3\u51b3\u529e\u6cd5\u662f\u4e0b\u8f7d\u5230\u672c\u5730\uff0c\u7136\u540e\u4fee\u6539PackageControl\u91cc\u9762\u7684\u914d\u7f6e\u6587\u4ef6\u3002\u70b9\u51fbPreference\u2014Package Settings\u2014Package Control\u2014Settings User\uff0c\u8f93\u5165<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&quot;channels&quot;:\n&#x5B;\n&quot;\/Users\/mac\/Desktop\/channel_v3.json&quot;\n],\n<\/pre>\n<p>\u4e3a\u4ec0\u4e48\u4e0d\u7f16\u8f91Settings-Default\uff1f\u56e0\u4e3aMACOS\u6709\u6743\u9650\u63a7\u5236\uff0c\u65e0\u6cd5\u7f16\u8f91\uff0cwindows\u6ca1\u6709\u8fd9\u4e2a\u95ee\u9898\uff0c\u53ef\u76f4\u63a5\u7f16\u8f91\u3002<\/p>\n<p>\u7136\u540e\u56de\u5230\u4e0a\u4e00\u6b65\uff0c\u5728Package Control: Install Package\u91cc\u8f93\u5165highlight\u641c\u7d22\uff0c\u4e00\u822c\u7b2c\u4e00\u4e2a\u7ed3\u679c\u5c31\u662f\uff0c\u70b9\u51fb\u5b89\u88c5\uff0c\u8fd9\u65f6\u5019\u6253\u5f00\u63a7\u5236\u53f0\uff08\u6309Ctrl+\uff5e\uff09\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0Error downloading package. HTTP exception InvalidCertificateException (Host codeload.github.com returned an invalid certificate ([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:548)))wnloading package\u9519\u8bef\uff0c\u5bfc\u81f4\u65e0\u6cd5\u4e0b\u8f7d\uff0c\u8fd9\u662f\u7531\u4e8epython\u7248\u672c\u65e0\u6cd5\u652f\u6301tsl1.2\u7248\u672c\u5bfc\u81f4\uff0c\u89e3\u51b3\u529e\u6cd5\u662f\u5728Preference\u2014Package Settings\u2014Package Control\u2014Settings User\u8f93\u5165<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\n&quot;downloader_precedence&quot;:\n{\n&quot;linux&quot;: &#x5B; &quot;curl&quot;, &quot;urllib&quot;,    &quot;wget&quot; ],\n&quot;osx&quot;: &#x5B; &quot;curl&quot;, &quot;urllib&quot; ],\n&quot;windows&quot;: &#x5B; &quot;wininet&quot; ]\n},\n\n<\/pre>\n<p>\u53ef\u5f3a\u5236\u4f7f\u7528\u7cfb\u7edf\u81ea\u5e26\u4e0b\u8f7d\u547d\u4ee4\u3002\u7136\u540e\u5c31\u53ef\u4ee5\u987a\u5229\u7684\u5b89\u88c5highlight\u63d2\u4ef6\u4e86\u3002<\/p>\n<p>\u5b89\u88c5\u597d\u540e\uff0cPreference\u2014Package Settings\u2014SublimeHighlight\u2014Settings Default\u4e2d\u53ef\u4ee5\u4fee\u6539\u590d\u5236\u7684\u6837\u5f0f\uff0c\u6bd4\u8f83\u5e38\u89c1\u7684\u662f<\/p>\n<ul>\n<li>\u4e3b\u9898&#8221;theme&#8221;: &#8220;default&#8221;,\u652f\u6301\u7684\u4e3b\u9898\u6837\u5f0f\u5728\u4f5c\u8005\u7684gitbub\u9875\u9762\u6709\u622a\u56fe<\/li>\n<li>\u590d\u5236\u8fc7\u7a0b\u4e2d\u8981\u4e0d\u8981\u5e26\u884c\u53f7&#8221;linenos&#8221;: false\uff0c\u5982\u679c\u9700\u8981\uff0c\u628afalse\u6539\u4e3a&#8221;inline&#8221;<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u56e0\u4e3a\u8981\u628a\u4e00\u4e9b\u4ee3\u7801\u590d\u5236\u5230word\u6587\u6863\u91cc\uff0c\u76f4\u63a5\u590d\u5236\u7684\u8bdd\uff0c\u4e00\u4e9b\u9ad8\u4eae\u3001\u989c\u8272\u6e32\u67d3\u7684\u64cd\u4f5c\u5728word\u91cc\u5c31\u4f1a\u5931\u6548\uff0c\u76f4\u63a5\u53d8\u6210\u767d\u7eb8\u9ed1\u5b57\uff0c\u6548\u679c\u5dee\u5f88\u591a\u3002\u5728\u7f51\u4e0a\u641c\u4e86\u641c\uff0cSublimete&#8230;<\/p>\n<p class=\"read-more\"><a href=\"http:\/\/www.lonelyword.com\/?p=1224\" > Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"ngg_post_thumbnail":0,"footnotes":""},"categories":[1],"tags":[396,398],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/www.lonelyword.com\/index.php?rest_route=\/wp\/v2\/posts\/1224"}],"collection":[{"href":"http:\/\/www.lonelyword.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.lonelyword.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.lonelyword.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.lonelyword.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1224"}],"version-history":[{"count":0,"href":"http:\/\/www.lonelyword.com\/index.php?rest_route=\/wp\/v2\/posts\/1224\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.lonelyword.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.lonelyword.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1224"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.lonelyword.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}