Recently to write a document, the leader designated with Markdown. The Artifact tool, which was used twice two or three years ago, is almost forgotten.
In order to be proficient in this skill, I decided to learn it well again.
So: See the Quick Start document
。。。 30 minutes ... After reading the document found to write it again puzzled? What tools are used to write it?
so the morning searched a tool, video. Finally decided to use the usual code artifact: Sublime Text3 Add plugin is very useful.
method Source: [Markdown]sublime Markdown preview uses absolutely
Download installation
- Download Sublime Text 2/3
- Installation
Second, install the package Control
- Press CTRL + ' to open console
- Paste the code into the console and enter
- Restart Sublime Text 2
Import urllib2,os;pf= ' package control.sublime-package '; Ipp=sublime.installed_packages_path (); Os.makedirs (IPP) if Not os.path.exists (IPP) Else None;open (Os.path.join (IPP,PF), ' WB '). Write (Urllib2.urlopen (' Http://sublime.wbond.net /' +pf.replace (', '%20 '). Read ())
Third, install markdown Preview
- Press CTRL + Shift + P
- Enter PCI rear carriage return (Package Control:install package)
- Wait a minute ... ^_^
- Input Markdown Preview Enter
Iv. Editing
- Press CTRL + N to create a new document
- Press CTRL + Shift + P
- Editing a document using Markdown syntax
- Syntax highlighting, enter SSM after return (Set Syntax:markdown)
v. Preview the markdown document in the browser
- Press CTRL + Shift + P
- Enter MP rear carriage return (Markdown preview:current file in browser)
- Now you can see the document you just edited in your browser.
- Sublime in the following,
- Browser preview:
- Other simple and common syntax:
Write code in the document ' codes in here ' between the two points means that the inline code ' some ' ' three dots indicates the inline code block-level hyperlink [text] (link address) PS: the & in the link address To use HTML entities to represent & Www.baidu.com?word=kevin&time=now to use Www.baidu.com?word=kevin &time= Now---can represent a dividing line * * The word here will be bold * * italic *> Black Cat white cat ----Deng Xiaoping > will be displayed as a citation table | name | age | |:---: |:---| | kevin|25| | eric|33| | tiger|25| Use | To represent a border---represents a header split: Indicates that there are two sides of the way: the Center is aligned, the other side is aligned to this side # #表示标题 # One to six represents H1 to h6 the other syntax is not listed here to see http://www.appinn.com/markdown/
Markdown Preview-Quick Start