Install Sublime Text 3,付费软件,但可以无限期免费使用。只是时不时的会弹出一个要求你购买的弹窗。
Sublime Text 3默认每次打开都会自动打开上次保存的文件,可以这样进行关闭,打开Preferences->Settings User,输入:
{
"hot_exit": false,
"remember_open_files": false,
}
其中,“hot_exit”: false,“remember_open_files”: false表示关闭自动打开上次保存的文件。
如果在打开文件时,鼠标右键,菜单中没有 Open with Sublime Text 选项的话,可以参考
把sublime text 3添加到右键菜单 进行设置。
这个插件是用来管理(安装/删除)插件的。
import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())
->重启Sublime即可。
注意:此命令只针对Sublime Text 3。需要Sublime Text 2的命令的话要自己在网上找。
注意:Sublime的Package在Windows下默认安装在C:\Users\用户名\AppData\Roaming\Sublime Text 3\Packages\里面,如果想要更改Package的安装位置到Sublime的安装路径(一般非C盘)下,可以安装目录下新建Data目录(如安装目录“D:\Program Files\Sublime Text 3\”下),重启Sublime,再次安装 Package Control,安装过Package Control之后,会在新建的Data文件夹里面生成如下文件:
其中除了Cache在C:\Users\用户名\AppData\Roaming\Sublime Text 3\ 下面找不到外, 其它4个都可以在C:\Users\用户名\AppData\Roaming\Sublime Text 3\ 下面找到。直接把C:\Users\用户名\AppData\Roaming\Sublime Text 3\下面的4个文件夹复制到D:\Program Files\Sublime Text 3\Data\下面, 覆盖掉D盘里面的那4个同名文件夹。现在插件就转移到D盘下了,之前的设置也会保留,以后再安装插件就会直接安装到D盘,C盘的那个目录就可以删除了。
Markdown编辑器,是Markdown写作者必备的插件,不仅可以高亮显示Markdown语法还支持很多编程语言的语法高亮显示。 MarkdownEditing只针对 md / mdown / mmd / txt 格式文件才启用。
Mardown Preview不仅支持在浏览器中预览markdown文件,还可以导出html代码。
安装:和安装MarkdownEditing一样。
使用:通过按组合键Ctrl+Shift+P或是点击Preference->Package Control调出命令面板,输入mdp,选择Markdown Preview: Preview in Browser。选中后,你会看到三个选项:GitHub,Gitlab和Mardown。GitHub选项意味着使用GitHub的在线API来解析.md文件。它的解析速度取决于你的联网速度。据称有每天60次访问的限制。但能免费获得GFM格式的语法支持和EMOJI表情的支持。
快捷键:Sublime Text支持自定义快捷键,markdown preview默认没有快捷键,我们可以自己为preview in browser设置快捷键。方法是在Preferences -> Key Bindings User打开的文件的中括号中添加以下代码(可在Key Bindings Default找到格式):
{ "keys": ["alt+m"], "command": "markdown_preview", "args": {"target": "browser", "parser":"markdown"} }
这里:
"alt+m"可设置为自己喜欢的按键。
“parser”:“markdown"也可设置为"parser”:“github”,改为使用Github在线API解析markdown。
设置完成后,以后在编辑好Markdown文档并保存后就可以通过按alt+m在默认浏览器中打开一个新的标签页来预览Markdown文档了。
{
/*
Enable or not mathjax support.
*/
"enable_mathjax": true,
/*
Enable or not highlight.js support for syntax highlighting.
*/
"enable_highlight": true,
}
LiveReload是一个可实时刷新的插件,其功能是一旦我们在Sublime中保存了Markdown文档,那么这个LiveReload插件就会自动在网页中帮我们刷新预览界面。
{
"enable_autoreload": true
}
补充:
实现浏览器自动刷新还有一种方法:
在md文件最下面加入一行:
其中0.1表示刷新间隔,单位是秒。为了不让滚动时编辑的新文字触底,我们在最后一行的刷新代码之上打好几个占空间的行即可。 由于空行不会被解析,我们在每一行之前放一个字符#或者打三个以上的减号表示分割线。
auto-save可以使一个文档实现空闲x秒后自动保存。
"auto_save_delay_in_seconds": 0.15,
0.15是一个比较能接受的值,不会对磁盘造成频繁读写的影响,延迟也不大。到此我们就可以实现像CSDN中的Markdown编辑器差不多的效果了,其中一个差别就是浏览器中的页面不会随着你在Sublime中页面的滚动而滚动。
可以直接实现Markdown Preview+LiveReload+auto-save的功能,即可以实时预览自己编辑的内容。但美中不足的是其不能显示[TOC]
(有的文章里写到可以显示,但我试了不行),但可以通过安装MarkdownTOC这个插件来一键生成目录,但这个目录是文字格式(不能跳转)的不像Markdown Preview中的目录是链接格式(可以跳转)的。
这款插件可以实现使Sublime Text和Evernote相关联,在Sublime中编辑Markdown笔记后可以直接保存到Evernote中。
{
"noteStoreUrl": "XXX",
"token": "XXX"
}
测试是否成功:通过shift+command / Ctrl+p打开命令窗口,输入Evernote,就会看见Evernote的许多命令,点击Evernote:list recent notes,如果看到罗列出最新的笔记,则说明授权成功
快捷键:打开 Preferences > Key Bindings - User 输入以下的设置:
[
{ "keys": ["ctrl+e", "ctrl+p"], "command": "show_overlay", "args": {"overlay": "command_palette", "text": "Evernote: "} },
{ "keys": ["ctrl+e", "ctrl+o"], "command": "open_evernote_note" },
{ "keys": ["ctrl+e", "ctrl+s"], "command": "send_to_evernote" },
{ "keys": ["ctrl+e", "ctrl+u"], "command": "save_evernote_note" }
]
Item | Value |
---|---|
Ctrl+e,Ctrl+p | 打开Evennote的命令面板 |
Ctrl+e,Ctrl+o | 打开云端的印象笔记本 |
Ctrl+e,Ctrl+s | 发送到Evernote |
Ctrl+e,Ctrl+u | 保存已有笔记到Evernote |
每次新建一个文件,我们可能需要一些模板,这是可以实现的。在 Sublime 的菜单栏打开 Preferences > Package Settings > Evernote > Settings-User 键入以下的字段:
"default_template": "Packages/User/EvernoteNote.md",
然后打开 Preferences > Browse Packages… 打开User文件夹,新建一个EvernoteNote.md文件作为一个模板,需要注意的是,需要把这个文件转换为UNIX格式,才能正常的使用。参考(我试了一下没有成功,可能是格式问题)
还可以使用Sublime Tmpl这个插件,但它只能添加一定格式的模板,不能实现像CSDN或一些在线Markdown编辑器一样在开始界面有Markdown使用方法介绍。
Sublime模板插件sublimeTmpl使用
http://blog.jobbole.com/96993/
代码高亮:
markdown里嵌入的代码在生成html文档时,支持根据语言高亮显示。通过 Preferences -> Package Settings -> Markdown Preview -> Settings-User 来打开用户设置文件,加入如下内容即可打开代码高亮功能。
{
"enable_highlight": true
}
如果需要更高级的高亮显示,比如指定代码高亮的风格(emacs, vim etc.),则可以自定义 codehilite 扩展来实现。在Markdown Preview用户设置文件里加入如下内容即可。本文就是使用 emacs 高亮风格来显示代码的。
{
"enabled_extensions": [
"extra",
"github",
"toc",
"headerid",
"meta",
"sane_lists",
"smarty",
"wikilinks",
"admonition",
"codehilite(guess_lang=False,pygments_style=emacs)"
]
}
关于pygments,pygments_style可以用来指定代码高亮的风格。Markdown Preview使用pygments来完成代码高亮。关于pygments以及更多可用的内置代码高亮风格,可访问pygments官网查阅相关文档。
如果应用主题皮肤后发现切换Markdown界面无变化,那么在Settings User输入:
{
"hot_exit": false,
"remember_open_files": false,
"color_scheme": "Packages/MarkdownEditing/MarkdownEditor-Dark.tmTheme",
"font_size": 11,
"ignored_packages":
[
"Markdown",
"Vintage"
]
}
个人设置:
1.打开Preferences->Packages Settings->Markdown Editing->Markdow GFM Settings -Default & Markdow GFM Settings - User ,把 Markdow GFM Settings - Default 中的内容拷贝至 Markdow GFM Settings - User 并保存,把User中对应部分修改成以下内容:
"color_scheme": "Packages/MarkdownEditing/MarkdownEditor.tmTheme",
// Layout
"draw_centered": false, //决定两侧是否留白,默认为true,修改为false去除左侧空白
"word_wrap": true,
"wrap_width": 80, //决定每行最大字数,这里设定为80
"rulers": [],
// Line
"line_numbers": true, //显示行号,默认为false
"highlight_line": false,
"line_padding_top": 2,
"line_padding_bottom": 2,
2.打开Preferences->Packages Settings->Markdown Editing->Markdow (Standard) Settings -Default & Markdow GFM Settings - User ,把 Markdow (Standard) Settings - Default 中的内容拷贝至 Markdow (Standard) Settings - User 并保存,
把主题更改为:
"color_scheme": "Packages/Monokai Extended/Monokai Extended.tmTheme",
其它地方作适当修改(可选)。
插件&主题
Sublime默认是不支持以Ctrl+v这样的方式来粘贴/插入图片的,但在Sublime中有个叫ImagePaste的插件,安装这个插件后就可以实现以Ctrl+v来粘贴图片了。当你按下Ctrl+v后(第一次使用),它会自动在你当前正在编辑的x.md文档(建议使用英文命名文件,这样的话不会产生潜在的编码问题)的同级目录下新建一个x文件夹,把你粘贴的这个图片放到x\下面,并把这个图片命名为x0.png,并在x.md文档中显示:
![](x/x0.png)
。你如果再次使用Ctrl+v(第二次使用)来粘贴图片,它就会在x\下生成一个x1.png的图片,并在x.md文档中显示: ![](x/x1.png)
,此时你可以在预览界面看到你插入的图片 。
Markdown可以插入图片但不能改变图片的大小(高 / 宽)和位置(默认靠左,不能居中 / 靠右),有时候界面不美观,而HTML不仅可以插入图片而且还可以完成那些Markdown做不到的事情(改变大小 / 居中 / 靠右)。
插入格式:
<img src="link/directory(路径可以带空格)" style="width: 200px;height: 200px"/>
或者
<img src="link/directory(路径可以带空格)" height="330" width="190" >
插入例子:
<img src="https://img-blog.csdn.net/20170830090523534?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvS2luZ0JveVdvcmxk/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" style="width: 600px;height: 400px">
效果:
对齐格式:
使用html中的div标签,它有个对齐属性align,可以指定为left、center、right以实现左对齐、居中对齐和右对齐。这种方式div标签之间不能放Markdown图片链接语法,而只能是html的语法格式,因此还要配合标签使用。
居中有两种方法:
方法一(CSDN不支持):
<center>
![](link / directory "title")
</center>
例子:
<center>
![alt text](https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=935292084,2640874667&fm=26&gp=0.jpg)
</center>
效果:
<div align="center">
<img src="link / directory" />
</div>
例子:
<div align="center">
<img src="https://img-blog.csdn.net/20170830090523534?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvS2luZ0JveVdvcmxk/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" width="300" height="200" alt="This is a Gift" />
</div>
效果:
例子:
<div align="center">
<img src="https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=935292084,2640874667&fm=26&gp=0.jpg" height="330" width="190" >
<img src="https://img-blog.csdn.net/20170830090523534?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvS2luZ0JveVdvcmxk/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" height="330" width="190" >
<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMTEhUSExMVFhUXFhcXGBcYGBYWGhgYFxcYFxcXGBcYHiggGBolGxYXITEhJSkrLi4uFx8zODMtNygtLisBCgoKDg0OGhAQGy8lHyUtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLf/AABEIALcBEwMBIgACEQEDEQH/xAAbAAACAwEBAQAAAAAAAAAAAAADBAIFBgABB//EAEIQAAEDAgMFBQQHBQgDAQAAAAEAAhEDIQQSMQVBUWFxEyKBkaEGMrHBFEJSYoLR8CNykuHxFRYzQ1OissJUk9JE/8QAGgEAAwEBAQEAAAAAAAAAAAAAAQIDAAQFBv/EACwRAAICAgEDAwIGAwEAAAAAAAABAhEDEkEhMVEEE2GBoRQiMpHB8COx0XH/2gAMAwEAAhEDEQA/AMyKYUg0clENUg1ek2cdHoaF52YUhTUhSQsNEOwC76LwKKKam1iVyGUQBwxG5Q7JPNBXuU8ENw6or+yK87NWHZcl4aCO4dBA014KSsOxXdktuDQrzTXFieNFRNJbcOogWqMJ80V4aPJMpiuAhC7KE6aCh2CO4ugoWBQdSThpIbqaZSFcRF9BAdThWRYhPpqimRljK4tXmVNuYhOYnTIuLQuWqTaaK1iOxgC0pUZEaVFTdTTIZZQIUdjproIV6CXhP4nRJFWg+hzz6MgQokKRXicBGF4pFQJWsKPV6h5l6jY1Gx7JehiayLhTXmbnoai4pqYplMimpCj1S7hUBUMRAxMCgURuHQcxtRZrUQMTLKKKKfJI5jKIoGKWROCkFMUQk3HUREUZUXYZWQoKQoIe6HQqRh1xoK3+jqLsKh7ofbKc4ZRdh1bOwqCKQPuuB6EH4JllB7ZVvoobqat3Yf8AX9UM4U+X6sm95A9op3MUex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z0n5dM5J3zaCMvhvlGds/GXMsYDrDjvtuaZXLlFyHQDD7Nkua+oeMS4yQd5IsbmDdXOH9jK9QAZhGUPPekwe6OG8gRO7guXJV1YZScVaPcT7CRc1gyYgmmSLgye7UcYsdb2Sp9j3MMZ21Tlnusytvcd57gT5DovFypBJ2LvLuBxvs1XpBtSqym1ryAIHaG4MSM4E2A36oLWuDWl1QMY7TKxtzP2Y66kLlySfR0VxSclbPGOrgfsarSJ306bXf8Xf8lzaGLJnOyRxbTHjIauXJNutUUcel2Rr4PGyHQCeINMfABBrOxejmgx9rKfLvWXLlVNeDnnJrkQxBqk3pt8Dl+BSAou0DQL8SfiVy5Wi+hGTD09kF2jT/ABfFd/d87y4fi+PFerkHkaDGCZEbBbEF5jz+IUT7PsJ3nx/kuXLRyyNLFFER7Oj+kKQ2WGi1Mnq8D4SuXKiyNk3BBqdAGxpx0cvazWsv7oA5kRpYA81y5BO2Ml0PKOKZGYGRpplv6lcK1J9sviCR5wL+S5cqaiWTo4cmzXUz+Ez/ABEIT8QwauJMxvI+RXLksPzOmaX5ewv9JbxP8dT8l6uXKuiJ7M//2Q==" height="330" width="190" >
</div>
效果:
<img src="https://img-blog.csdn.net/20170830090523534?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvS2luZ0JveVdvcmxk/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" height="330" width="600" alt="5555555" align="right" />
或者
<div align="right">
<img src="https://img-blog.csdn.net/20170830090523534?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvS2luZ0JveVdvcmxk/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" height="330" width="600" alt="This is a Gift" />
</div>
效果:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx没有这些填充会影响下面的排版xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Markdown定义了两种图片插入方式,分别是行内式和参考式。
1.行内式:其格式是 ![Alt text](link/directory "title")
一个惊叹号 !
接着一个方括号[ ] ,最初的本意是当图片因为某种原因不能被显示时而出现的替代文字,后来又被用于SEO,可以方便搜索引擎根据Alt text里面的关键词搜索到图片
接着一个普通括号( ),里面放上图片的网址link(缺点是将图片存在网络服务器上,非常依赖网络。) / 图片在本机的路径directory(相对 / 绝对路径,路径中如有空格1,用%20替换掉,缺点是不灵活不好分享,本地图片的路径更改或丢失都会造成markdown文件调不出图。),以及可选的用双引号包住的title文字(有人提到用双引号/单引号/括弧都可以,但在我电脑上的Sublime Text 3.2中只能用双引号),两者之间用若干个空格分割开来,如果加上了title文字,那么鼠标移到该图片上就会显示出该文字
例子:
![例图](https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=935292084,2640874667&fm=26&gp=0.jpg "This picture from www.baidu.com")
效果:
例子:
![xiaobai](https://img-blog.csdnimg.cn/20190321173956502.jpg =200x200)
效果:
2.参考式:其格式是 Place1= ![Alt text][m] Place2= [m]:link 'title'
一个惊叹号 !
接着一个方括号[ ] ,里面放上图片的替代文字,也就是当图片还未加载成功时显示的替换文本
接着是另一个方括号[ ],里面是图片参考的标签id,id可以是数字、英文字符,也可以是中文
最后在文档的任何位置处写上标签id的内容定义,内容定义的形式为:
一个方括号[ ] (前面可以选择性地加上至多三个空格来缩进),里面输入所要定义的标签id
接着一个冒号:
接着图片的网址
最后选择性地接着title内容,可以用单引号’ ’ / 双引号" " / 括弧( )包着
例子:
//参考式的例子
//Place1
![directory][3]
# markdown
## sublime
//Place2
[3]:https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=935292084,2640874667&fm=26&gp=0.jpg '参考式例子'
效果:
以上两种方法明显的麻烦之处在于处理图片与Markdown文档的一致性上。如果我们要拷贝文档,或者图片遭到误删 / 云端链接失效,那么就会变得不方便,最让我们省心的方法就是把图片直接放到文档内部,一个把图片嵌入文档中的方法是使用base64编码。
![](data:image/jpg;base64,...)
,base64编码一般很长,影响正常编辑,可以使用参考式的方式例子:
![xiaobai][1]
#base64
[1]:data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAIAAAAiOjnJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAARWlUWHRDb21tZW50AAAAAABDUkVBVE9SOiBodHRwOi8vd3d3LmppcWllLmNvbS90b3V4aWFuZy8xMC5odG0scXVhbGl0eT05MAqm4F7QAAAaOElEQVR4nO2dbYxUVxnHz32ZO+8z+wKUgpTadguFWG13VUKxBVxooaSth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q3izaJ4yzQHbsHesFZZM3wWE0Z88LKhENeP3wPOSKNZYeeAeCZWi0XBRYxcQKTsTX/4NudcxCBQlUoYQvFCgDKhGBnxIvGD6duKTn62q4Gl33gtYSE14YxjFBNm6YoXYYzpuo6YFgY+VOvHG3BBHit6hggFtCXKN87QM884s9FiETPAbLRYxAxAwiKkQMIipEDCIqRAwiKkQMIipEDCIqRAwiKkQMIipEDCIqRAwiKkQMIipEDCIqRAwiKkQMIipEDCIqRAwiKkQMIipEDCIqRAwiKkQMIipEDCIqRAwiKkQMIipEDCIqRAwiKkQMIipEDCIqRAwiKkQMIipEDCIqRAwiKkQMIipEDCIqRAwiKkQMIipEDCIqRAwiKkQMIipEDCIqRAwiKkQMIipEDCIqRAwiKkQMIipEDCIqRAwiKk8C8y7lH8hlZWbQAAAABJRU5ErkJggg== "xiaobai")
效果:
注意:不是所有的Markdown编辑器都支持base64这种方法。而且一些Markdown编辑器只支持特定的图片格式。如在CSDN中的Markdown编辑器和有道云笔记只支持png格式的图片编码,需要在保存图片文件的时候加以注意。
出现此问题的主要原因在于无法访问 https://packagecontrol.io/channel_v3.json 这个地址(被墙了,DNS污染),因此只需要用其它地址替换掉即可解决。
解决方案1:
解决DNS污染问题,首先获取sublime.wbond.net网站的IPv4地址,可以通过ping sublime.wbond.net得到,其IP = 50.116.33.29,然后更改hosts文件即可。可以手动打开hosts文件进行修改,也可以用下面的命令进行修改。
在OSX / Linux / Unix上打开终端输入:
sudo echo "50.116.33.29 sublime.wbond.net" >> /etc/hosts
在windows上以administrator身份运行CMD,输入:
echo 50.116.33.29 sublime.wbond.net >> "C:\Windows\system32\drivers\etc\hosts"
解决方案2:
访问别人备份的channel_v3.json文件,打开Sublime Text,点击Sublime Text->Preferences->Settings - User,添加如下代码:
"channels":
[
"https://raw.githubusercontent.com/HBLong/channel_v3_daily/master/channel_v3.json",
],
或者
Command / Ctrl+Shift+p 打开命令面板
输入 Package Control: Add Channel添加地址:https://raw.githubusercontent.com/HBLong/channel_v3_daily/master/channel_v3.json
解决方案3:
科学上网
快速修复1:删除删除线扩展
打开Sublime Text > Preferences > Package Settings > OmniMarkupPreviewer > Settings - User
粘贴以下内容以删除删除线程序包。
{
"renderer_options-MarkdownRenderer": {
"extensions": ["tables", "fenced_code", "codehilite"]
}
}
快速修复2:修复删除线扩展(如果需要)
打开"/Users//Library/Application Support/Sublime Text 3/Packages/OmniMarkupPreviewer/OmniMarkupLib/Renderers/libs/mdx_strikeout.py"。
把以下代码:
def makeExtension(configs=None):
return StrikeoutExtension(configs=configs)
替换为:
def makeExtension(*args, **kwargs):
return StrikeoutExtension(*args, **kwargs)
保存,退出并重新加载Sublime Text。
参考Github
本地图片在OmniMarkupPreviewer的浏览器页面无法显示,而在Markdown Preview中却可以正常显示,所以尽量把图片转换成base64插入到Markdown。
https://github.com/jikeytang/sublime-text
https://juejin.im/entry/56c40cacdf0eea0053199335
http://www.imooc.com/learn/333
https://www.jianshu.com/p/d1b9a64e2e37
https://segmentfault.com/a/1190000012916660
Markdown在线手册
w3cschool_Markdown教程
markdownguide
Unix / Linux / Mac OS 如果想进入路径带空格的目录,可以使用 \ 或 ‘’ 或 “” 来对空格进行处理。 ↩︎