终于解决typecho自带编辑器的不方便了
评论 0 热度 18
<p style="box-sizing: border-box; margin-top: 1.5em; margin-bottom: 1.5em; font-size: 14px; color: rgb(88, 102, 110); font-family: "Source Sans Pro", "Hiragino Sans GB", "Microsoft Yahei", SimSun, Helvetica, Arial, sans-serif; text-indent: 0em; white-space: normal; background-color: rgb(255, 255, 255); word-break: break-all !important;"><span style="box-sizing: border-box; text-indent: 0em; font-family: sans-serif; font-size: 16px; color: rgb(12, 12, 12);">关于typecho自带的<span style="box-sizing: border-box;">markdown<span style="box-sizing: border-box;">解析引擎</span></span>可以使用parsedown插件替换: </span><span style="box-sizing: border-box;">kokororin / typecho-plugin-parsedown</span><br/></p><p style="box-sizing: border-box; margin-top: 1.5em; margin-bottom: 1.5em; color: rgb(51, 51, 51); font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; text-indent: 0em; white-space: normal; background-color: rgb(255, 255, 255); line-height: normal; word-break: break-all !important;"><span style="box-sizing: border-box;"><span style="box-sizing: border-box; color: rgb(12, 12, 12);">启用该插件后,无需任何设置,自动替换前台文章解析,支持解析表格和html代码。</span><span style="box-sizing: border-box; color: rgb(12, 12, 12);"></span></span></p><p style="box-sizing: border-box; margin-top: 1.5em; margin-bottom: 1.5em; color: rgb(51, 51, 51); font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; text-indent: 0em; white-space: normal; background-color: rgb(255, 255, 255); line-height: normal; word-break: break-all !important;"><span style="box-sizing: border-box;"><span style="box-sizing: border-box; color: rgb(12, 12, 12);"><br/></span></span></p><p style="box-sizing: border-box; margin-top: 1.5em; margin-bottom: 1.5em; color: rgb(51, 51, 51); font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; text-indent: 0em; white-space: normal; background-color: rgb(255, 255, 255); line-height: normal; word-break: break-all !important;"><span style="box-sizing: border-box;"><span style="box-sizing: border-box; color: rgb(12, 12, 12);">关于编辑器,这里推荐ue <span style="box-sizing: border-box;">ueditor for typecho 2018<br/></span></span></span></p><p style="box-sizing: border-box; margin-top: 1.5em; margin-bottom: 1.5em; font-size: 14px; color: rgb(88, 102, 110); font-family: "Source Sans Pro", "Hiragino Sans GB", "Microsoft Yahei", SimSun, Helvetica, Arial, sans-serif; text-indent: 0em; white-space: normal; background-color: rgb(255, 255, 255); word-break: break-all !important;"><span style="box-sizing: border-box; color: rgb(12, 12, 12);"><span style="box-sizing: border-box; font-weight: 700;">安装方式1:在线安装</span></span></p><ul class=" list-paddingleft-2" style="box-sizing: border-box; margin-bottom: 1em; font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; white-space: normal; background-color: rgb(255, 255, 255);"><li style=""><p style="box-sizing: border-box; margin-top: 1.5em; margin-bottom: 1.5em; font-size: 14px; color: rgb(88, 102, 110); font-family: "Source Sans Pro", "Hiragino Sans GB", "Microsoft Yahei", SimSun, Helvetica, Arial, sans-serif; line-height: normal; text-indent: 2em; word-break: break-all !important;"><span style="box-sizing: border-box; color: rgb(12, 12, 12); font-size: 16px;">使用ueditor.install.php在服务器上下载和安装</span></p></li><li style=""><p style="box-sizing: border-box; margin-top: 1.5em; margin-bottom: 1.5em; font-size: 14px; color: rgb(88, 102, 110); font-family: "Source Sans Pro", "Hiragino Sans GB", "Microsoft Yahei", SimSun, Helvetica, Arial, sans-serif; line-height: normal; text-indent: 2em; word-break: break-all !important;"><span style="box-sizing: border-box; color: rgb(12, 12, 12); font-size: 16px;">访问</span><span style="box-sizing: border-box;">https://github.com/chanshengzhi/ueditor-for-typecho/releases</span></p></li><li style=""><p style="box-sizing: border-box; margin-top: 1.5em; margin-bottom: 1.5em; font-size: 14px; color: rgb(88, 102, 110); font-family: "Source Sans Pro", "Hiragino Sans GB", "Microsoft Yahei", SimSun, Helvetica, Arial, sans-serif; line-height: normal; text-indent: 2em; word-break: break-all !important;"><span style="box-sizing: border-box; color: rgb(12, 12, 12); font-size: 16px;">下载最新版本的安装脚本(ueditor.install.php) </span></p></li><li style=""><p style="box-sizing: border-box; margin-top: 1.5em; margin-bottom: 1.5em; font-size: 14px; color: rgb(88, 102, 110); font-family: "Source Sans Pro", "Hiragino Sans GB", "Microsoft Yahei", SimSun, Helvetica, Arial, sans-serif; line-height: normal; text-indent: 2em; word-break: break-all !important;"><span style="box-sizing: border-box; color: rgb(12, 12, 12); font-size: 16px;">上传到ueditor.install.php到/usr/plugins文件夹下 </span></p></li><li style=""><p style="box-sizing: border-box; margin-top: 1.5em; margin-bottom: 1.5em; font-size: 14px; color: rgb(88, 102, 110); font-family: "Source Sans Pro", "Hiragino Sans GB", "Microsoft Yahei", SimSun, Helvetica, Arial, sans-serif; line-height: normal; text-indent: 2em; word-break: break-all !important;"><span style="box-sizing: border-box; color: rgb(12, 12, 12); font-size: 16px;">访问yourdomain.com/usr/plugins/ueditor.install.php进行安装 </span></p></li><li style=""><p style="box-sizing: border-box; margin-top: 1.5em; margin-bottom: 1.5em; font-size: 14px; color: rgb(88, 102, 110); font-family: "Source Sans Pro", "Hiragino Sans GB", "Microsoft Yahei", SimSun, Helvetica, Arial, sans-serif; line-height: normal; text-indent: 2em; word-break: break-all !important;"><span style="box-sizing: border-box; color: rgb(12, 12, 12); font-size: 16px;">安装成功后进入typecho插件管理界面启用即可.</span></p></li><li style=""><p style="box-sizing: border-box; margin-top: 1.5em; margin-bottom: 1.5em; font-family: "Source Sans Pro", "Hiragino Sans GB", "Microsoft Yahei", SimSun, Helvetica, Arial, sans-serif; line-height: normal; text-indent: 2em; word-break: break-all !important;"><font color="#0c0c0c">推荐使用最新版,上面的老板又bug</font></p></li><li style=""><p style="box-sizing: border-box; margin-top: 1.5em; margin-bottom: 1.5em; font-family: "Source Sans Pro", "Hiragino Sans GB", "Microsoft Yahei", SimSun, Helvetica, Arial, sans-serif; line-height: normal; text-indent: 2em; word-break: break-all !important;"><font color="#0c0c0c">访问https://github.com/Chennhaoo/UEditor-for-Typecho</font></p></li></ul><p style="box-sizing: border-box; margin-top: 1.5em; margin-bottom: 1.5em; font-size: 14px; color: rgb(88, 102, 110); font-family: "Source Sans Pro", "Hiragino Sans GB", "Microsoft Yahei", SimSun, Helvetica, Arial, sans-serif; text-indent: 0em; white-space: normal; background-color: rgb(255, 255, 255); word-break: break-all !important;"><span style="box-sizing: border-box; color: rgb(12, 12, 12);"><span style="box-sizing: border-box; font-weight: 700;">安装方式2:下载安装</span></span></p><ul class=" list-paddingleft-2" style="box-sizing: border-box; margin-bottom: 1em; color: rgb(51, 51, 51); font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; white-space: normal; background-color: rgb(255, 255, 255);"><li><p style="box-sizing: border-box; margin-top: 1.5em; margin-bottom: 1.5em; font-size: 14px; color: rgb(88, 102, 110); font-family: "Source Sans Pro", "Hiragino Sans GB", "Microsoft Yahei", SimSun, Helvetica, Arial, sans-serif; line-height: normal; text-indent: 2em; word-break: break-all !important;"><span style="box-sizing: border-box; color: rgb(12, 12, 12); font-size: 16px;">访问</span><span style="box-sizing: border-box;">https://github.com/chanshengzhi/ueditor-for-typecho/releases</span><span style="box-sizing: border-box; color: rgb(12, 12, 12); font-size: 16px;">,下载所需版本的压缩包,解压后上传其中的<span style="box-sizing: border-box; font-size: 14px; color: rgb(192, 0, 0);"><span style="box-sizing: border-box; font-weight: 700;">ueditor</span></span>文件夹到/usr/plugins文件夹下, 进入typecho插件管理界面启用即可</span></p></li></ul><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 1em; color: rgb(51, 51, 51); font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; white-space: normal; background-color: rgb(255, 255, 255);"><br/></p><p></p><article><h3 style="box-sizing: border-box; font-family: inherit; font-weight: 500; line-height: 1.1; color: rgb(64, 64, 64); margin: 1.5em 0px 0px; font-size: 1.5em;"><span style="box-sizing: border-box; color: rgb(12, 12, 12);">typecho parsedown 解析markdown插件</span></h3><p style="box-sizing: border-box; margin-top: 1.5em; margin-bottom: 1.5em; color: rgb(51, 51, 51); text-indent: 2em; word-break: break-all !important;"><span style="box-sizing: border-box; color: rgb(12, 12, 12);">使用parsedown替换typecho自带的markdown解析库。<span style="box-sizing: border-box; color: rgb(192, 0, 0);">启用前请将目录名重命名为parsedown</span>。</span></p></article><p></p><p style="box-sizing: border-box; margin-top: 1.5em; margin-bottom: 1.5em; font-size: 14px; color: rgb(88, 102, 110); font-family: "Source Sans Pro", "Hiragino Sans GB", "Microsoft Yahei", SimSun, Helvetica, Arial, sans-serif; text-indent: 0em; white-space: normal; background-color: rgb(255, 255, 255); word-break: break-all !important;"><br/></p>