码迷,mamicode.com
首页 > 其他好文 > 详细

Markdown Syntax 2.0

时间:2016-10-07 13:59:50      阅读:234      评论:0      收藏:0      [点我收藏+]

标签:

Markdown Syntax 2.0

技术分享

This document is used for "Gem for OneNote"? Markdown feature.

  • Write the Markdown text in OneNote page.
  • Click "Markdown" button to convert Markdown text to OneNote normal text.
  • Click "Markdown" button again, convert the text back to Markdown text.

    Block Elements

    ? ?

    Headers

    ? ?

    Markdown supports two styles of headers, Setext and atx.

    ? ?

    Setext-style headers are "underlined" using equal signs (for first-level headers) and dashes (for second-level headers).

    ? ?

    Atx-style headers use 1-6 hash characters at the start of the line, corresponding to header levels 1-6.

    技术分享

    Markdown Headers

    Lists

    ? ?

    Markdown supports ordered (numbered) and unordered (bulleted) lists.

    ? ?

    Unordered lists use asterisks, pluses, and hyphens interchangably as list markers.

    ? ?

    Ordered lists use numbers followed by periods.

    技术分享

    Markdown Lists

    Code Blocks

    ? ?

    Pre-formatted ``` or ~~~ code blocks are used for writing about programming or markup source code.

    ? ?

    技术分享

    Markdown Code Blocks

    Horizontal Rules

    ? ?

    Asterisks, or underscores on a line by themselves. If you wish, you may use spaces between the hyphens or asterisks. Each of the following lines will produce a horizontal rule.

    技术分享

    Span Elements

    ? ?

    Links

    ? ?

    Markdown supports two style of links: inline and reference.

    ? ?

    In both styles, the link text is delimited by [square brackets].

    技术分享

    Emphasis

    ? ?

    Markdown treats asterisks (*) and underscores (_) as indicators of emphasis. Text wrapped with one * or _ will be converted to italic text; double *s or _s will be converted to bold text.

    技术分享

    Code

    ? ?

    To indicate a span of code, wrap it with backtick quotes (`). Unlike a pre-formatted code block, a code span indicates code within a normal paragraph.

    技术分享

    Images

    ? ?

    Markdown uses an image syntax that is intended to resemble the syntax for links, allowing for two styles: inline and reference.

    技术分享

    New

    Quote Text

    ? ?

    ?Indent quote text with ">", ">>", ">>>" ...

    技术分享

    Check Box

  • [ ] Check Box
  • [x] Checked Box

    技术分享

    Backslash Escapes

    Backslash escapes for the following characters:

    \?? backslash

    `?? backtick

    *?? asterisk

    _?? underscore

    {}? curly braces

    []? square brackets

    ()? parentheses

    #?? hash mark

    +?? plus sign

    -?? minus sign (hyphen)

    .?? dot

    !?? exclamation mark

    ? ?

    来自 <http://www.onenotegem.com/markdown.html>

Markdown Syntax 2.0

标签:

原文地址:http://www.cnblogs.com/isunlitao/p/5935715.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!