美文网首页
markdown语法

markdown语法

作者: 2e865224b06a | 来源:发表于2016-07-05 11:03 被阅读0次

一级标题

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

有序列表则使用数字接着一个英文句点:

  1. Bird
  2. McHale
  3. Parish

有序列表:

  1. Bird
  2. McHale
  3. Parish

-
列表加段落

  1. 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.
  2. 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 .
-

三级标题

-

尖括号包会自动转成链接

http://example.com/


引入代码

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

相关文章

  • Markdown语法

    Markdown基本语法 Markdown基本语法1 Markdown基本语法2(全、有用)

  • Markdown 入门指南

    Markdown 入门指南 目录Markdown 语法的起源Markdown 语法的种类Markdown trad...

  • MARKDOWN学习之路3

    MARKDOWN学习之路3 markdown介绍markdown语法标题语法列表语法区块引用语法字体语法分割线图片...

  • 第一次markdown

    #markdown的语法据说很简单 ##markdown的语法据说很简单 ###markdown的语法据说很简单 ...

  • Markdown语法

    Markdown语法 注意: Markdown中使用到的语法符号均为英文符号 Markdown语法主要分为如下几大...

  • 00.markdowm语法

    Link: Markdown 语法说明 . Link: Markdown进阶语法整理 .

  • Markdown语法简要说明

    Markdown语法 注意:Markdown中使用到的语法符号均为英文符号 Markdown语法主要分为如下几大部...

  • Markdown语法使用指南

    Markdown 语法 以下是 Markdown 的常用语法!在以后的笔记中将持续使用 Markdown 语法进行...

  • 基本语法

    语法说明 MarkDown基本介绍及使用 MarkDown语法介绍

  • Markdown语法学习

    Markdown语法学习 目录 Markdown语法学习语法补充Markdown简介基本语法标题分隔线强调链接图片...

网友评论

      本文标题:markdown语法

      本文链接:https://www.haomeiwen.com/subject/agjhjttx.html