sublime写markdown markdown editing 怎么语法高亮

Sublime Text 3 MarkdownEditing布局设置 - CSDN博客
Sublime Text 3 MarkdownEditing布局设置
在Sublime Text 3 MarkdownEditing插件打开md文件默认的主题很丑,而且文字居中,左侧有大片空白,需要修改配置文件调整一下。
ctrl+shift+p打开命令输入,打开Preference: MarkdownEditing Setting: User
ctrl+shift+p打开命令输入,打开Preference: MarkdownEditing Setting: Default
将Preference: MarkdownEditing Setting: Default对应文件内容复制到Preference: MarkdownEditing Setting: User中
在Preference: MarkdownEditing Setting: User中修改
&&color_scheme&: &Packages/MarkdownEditing/MarkdownEditor.tmTheme&,
&// &color_scheme&: &Packages/MarkdownEditing/MarkdownEditor-Dark.tmTheme&,
// &color_scheme&: &Packages/MarkdownEditing/MarkdownEditor.tmTheme&,
&&color_scheme&: &Packages/MarkdownEditing/MarkdownEditor-Dark.tmTheme&,
修改主题为深色,与sublime主题一一致
&draw_centered&: false, // 改为false,原始值为true
&word_wrap&: true,
&wrap_width&: 120, // 每行字符数上限
&rulers&: [],
配置完毕。
本文已收录于以下专栏:
相关文章推荐
首先介绍几个Markdown语法说明
1:Markdown语法说明(详解版)
2:Markdown 语法说明 (简体中文版)
3:GitHub 风格的 Markdown 语法
Markdown是什么
为什么使用Markdown
Markdown的优点
全新的体验
如何切换到MarkDown编辑器
通过发表文章页面切换到MarkDown编辑器
通过博客配置将Markdown设...
通过 Preferences -> Browse Packages... 打开Packages目录,然后右键选择在终端中打开,打开终端后
git clone https://github....
1. 背景颜色丑陋
2. 左右两侧有大量空白☆ 解决方案第一步
ctrl+shift+p打开命令输入,打开
Preference: MarkdownEditing Setting: ...
Markdown语法及SublimeText下使用技巧0.缘起最近因为一直在学习Sublime Text,所以也就顺便试用了一下ST对Markdown的支持。正好CSDN正在大力宣传新上线的Markd...
这种做法可能会对你的磁盘IO造成一小部分性能负担,但负面影响足以忽略。另外,由于这种频率的读写会被磁盘缓存接管,不必担心磁盘寿命的影响。...
1. 前言最近在深入了解markdown后,我不禁爱上了这个伟大的轻量级的标记语言。我想经历过各种奇葩文字编辑器的同志们肯定被各种样式搞的十分恼火。使用markdown之后,我们只需使用键盘专注于文本...
如何优雅高效的写博客(Sublime + Markdown + Evernote)本文主要是参照了几位大神的博客加上自己捣鼓了半天,比较适合新手流畅阅读
非常感谢下面两位大神:
@dc_726: ...
使用SublimeText 编辑Markdown 文件并预览Author:
使用Sublime安装相应插件方便的...
他的最新文章
讲师:王禹华
讲师:宋宝华
您举报文章:
举报原因:
原文地址:
原因补充:
(最多只允许输入30个字)配置Sublime Text使用Markdown,语法高亮,生成HTML - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
已注册用户请 &
配置Sublime Text使用Markdown,语法高亮,生成HTML
13:10:10 +08:00 · 3323 次点击
昨天查了好久,让Sublime Text用Markdown终于比较舒心了。写在博客上面,便于以后更新修改。
目前尚无回复
& · & 2400 人在线 & 最高记录 3541 & · &
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.0 · 46ms · UTC 09:56 · PVG 17:56 · LAX 01:56 · JFK 04:56? Do have faith in what you're doing.sublimetext - Sublime MarkdownEditing plugin color scheme and line numbers - Stack Overflow
Learn, Share, Build
Each month, over 50 million developers come to Stack Overflow to learn, share their knowledge, and build their careers.
Join the world’s largest developer community.
Display name
Email address
By registering, you agree to the
I like to utilize Markdown for a lot of the text that I write. To that end I wanted to try out the , but am having some user experience issues:
I cannot figure out how to change the color scheme such that it affects the MarkdownEditing syntax editor. Changes to .Packages\User\Preferences.sublime-settings do not effect display settings when in this syntax highlighting mode. However, those changes are reflected in other tabs. How do I change the color scheme when making use of the MarkdownEditing syntax highlighting?
How do I turn on line numbers when making use of this syntax plugin?
16.8k25112211
If you are using Markdown GFM syntax, open/create "Data/Packages/User/Markdown.sublime-settings" and add:
"color_scheme": "Packages/your/custom.tmTheme",
"line_numbers": true
See menu: Preferences & Package Settings & MarkdownEditing.
There are 3 different settings there for 3 different syntaxes. First check what "default" settings does and then undo it in "user" settings.
This was one of the most annoying things about this plugin when I installed it a while back, so I promptly got rid of it. However, before doing so, I figured out how to solve your problems. First, since you're using ST3, you'll need to install the quite-useful
plugin. Open the Command Palette (CtrlShiftP on Windows), type in prv to bring up the PackageResourceViewer options, and select Extract Package. Scroll down and select MarkdownEditing, hit Enter, and you're all set. You can now open Packages/MarkdownEditing (Packages should be in C:\Users\username\AppData\Roaming\Sublime Text 3, also available by selecting Preferences -& Browse Packages...) in the sidebar and browse through all the different .sublime-settings files for the different syntaxes and for the main plugin, changing things as you want. The syntax-specific files use all the same options found in Preferences -& Settings-Default, so for example you can set "line_numbers": true to turn line numbering back on, and change the value of "color_scheme" to your preferred value.
65.3k15133155
To stop the MarkdownEditing package from overriding your color scheme on Markdown files:
Open Preferences & Settings - User
Find your color_scheme line - e.g. it looks like
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
Copy the entire line
Open Preferences & Package Settings & Markdown Editing & Markdown GFM Settings - Default
Comment out the other color_scheme lines by adding // in front of them
Paste your line instead
Save the file
Markdown files will now use your regular color scheme rather than using their own scheme just for .md files.
If you get an error about "Error trying to parse settings", make sure your line ends with a , if there are lines below it, and does not end with , if it is the last line.
3,90142341
Your Answer
Sign up or
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Post as a guest
By posting your answer, you agree to the
Not the answer you're looking for?
Browse other questions tagged
Stack Overflow works best with JavaScript enabled使用SublimeText 编辑Markdown 文件并预览
SublimeText
下载链接:
SublimeText2:
SublimeText3:
选择对应系统的安装包下载就可以了,下载安装后在文件上右键就可以选择用SublimeText 编辑了。
插件安装:
1. Package Control
安装方式:
1 . 复制网页左边的一段python代码(根据SublimeText版本选择),在SublimeText中按Ctrl+` ,然后Enter键回车。
2 . 退出重新打开。
3 . 此时就可以通过菜单中的 Preferences –& Package Control 来使用它了。
2. Markdown Editing
通过 Preferences --& Package Control --&
Install Packages ,搜索安装
3. Markdown Preview
安装:通过 Preferences –& Package Control –&
Install Packages ,搜索安装
使用:编辑Markdown文件时按 Ctrl+B
就可以将Markdown文件转换为Html文件
修改配置:
菜单 –& Preferences –& Package Settings –&
Markdown preview –& Settings - Default , Ctrl+A 复制全部内容
菜单 –& Preferences –& Package Settings –&
Markdown preview –& Settings - Default , Ctrl+V 粘贴
修改以下三项
"build_action": "browser",
"file_path_conversions": "relative",
"image_path_conversion": "relative",
另外有个 Markdown Building 插件也是做相同的事情
OK,搞定,平常做笔记,写文章什么的就很方便了。
其他链接:
Markdown 语法说明:
本文已收录于以下专栏:
相关文章推荐
这种做法可能会对你的磁盘IO造成一小部分性能负担,但负面影响足以忽略。另外,由于这种频率的读写会被磁盘缓存接管,不必担心磁盘寿命的影响。
看到别人使用一个叫Markdown的标记语言来完成编码,心里就有点小激动,毕竟简短的几个符号,就可以写出如此精美的界面,实在是让人感到心旷神怡啊。于是我就在网上搜索了一些相关项的设置,于是便有了下面的...
安装前安装package controlsublime在使用插件前,需要先安装package control插件
下载package control
点击Preferences-&Browser Pa...
实现markdown实时预览先安装两个插件, 推荐使用Package Control的方式安装.安装Markdown Preview
ctrl+shift+p, 然后输入 Install Packag...
Markdown语法及SublimeText下使用技巧0.缘起最近因为一直在学习Sublime Text,所以也就顺便试用了一下ST对Markdown的支持。正好CSDN正在大力宣传新上线的Markd...
在Sublime Text 3 MarkdownEditing插件打开md文件默认的主题很丑,而且文字居中,左侧有大片空白,需要修改配置文件调整一下。
ctrl+shift+p打开命令输入...
下载地址/3
一、安装Package Control
按Ctrl + ` 调出console,粘贴下列安装代码到底部命令行并回车:import ...
安装Markdown Preview 插件
安装使用Markdown Editing
Sublime text 设置
Sublime Text 3 配置文件
// While you can edit this file, it's best to put your changes in
// &User/Pre...
他的最新文章
讲师:钟钦成
讲师:宋宝华
您举报文章:
举报原因:
原文地址:
原因补充:
(最多只允许输入30个字)

我要回帖

更多关于 sublime 支持markdown 的文章

 

随机推荐