一级标题
Use the printf()
function.
There is a literal backtick (`) here.
代码区段的起始和结束端都可以放入一个空白,起始端后面一个,结束端前面一个,这样你就可以在区段的一开始就插入反引号:
A single backtick in a code span: `
A backtick-delimited string in a code span: `foo`
-
- 列表模式
- 子列表
- 孙列表
*+-做列表符号的效果一样
- Red
- Green
- Blue
等同于:
- Red
- Green
- Blue
也等同于:
- Red
- Green
- Blue
有序列表则使用数字接着一个英文句点:
- Bird
- McHale
- Parish
有序列表:
- Bird
- McHale
- Parish
-
列表加段落
- This is a list item with two paragraphs. Lorem ipsum dolor sit amet,
consectetuer adipiscing
elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus. Donec sit amet nisl. Aliquam semper ipsum sit amet velit. - Suspendisse id sem consectetuer libero luctus adipiscing.
-
显示链接地址带括号的图片
![][1]
[1]: http://latex.codecogs.com/gif.latex?\prod%20(n_{i})+1
-
引用一段文字
The overriding design goal for Markdown's
formatting syntax is to make it as readable
as possible. The idea is that a
Markdown-formatted document should be
publishable as-is, as plain text, without looking like it's been marked up with tags or formatting instructions.
-
斜体字 actually .
-
三级标题
-
尖括号包会自动转成链接
- AngularJS - HTML enhanced for web apps!
- Ace Editor - awesome web-based text editor
- markdown-it - Markdown parser done right. Fast and easy to extend.
- Twitter Bootstrap - great UI boilerplate for modern web apps
- node.js - evented I/O for the backend
- Express - fast node.js network app framework @tjholowaychuk
- Gulp - the streaming build system
- keymaster.js - awesome keyboard handler lib by @thomasfuchs
- jQuery - duh
引入代码
def get_db():
# 建立连接
client = pymongo.MongoClient(host="127.0.0.1", port=27017)
db = client['example']
#或者 db = client.example
return db
def get_collection(db):
# 选择集合(mongo中collection和database都是延时创建的)
coll = db['informations']
print (db.collection_names())
return coll
$ git clone [git-repo-url] dillinger
$ cd dillinger
$ npm i -d
$ NODE_ENV=production node app
三个以上的符号都是分割线
斜体
single underscores
加粗斜体
double underscores
表格
You can create tables by assembling a list of words and dividing them with hyphens -
(for the first row), and then separating each column with a pipe|
:
First Header | Second Header |
---|---|
Content from cell 1 | Content from cell 2 |
Content in the first column | Content in the second column |