Markdown Syntax 2.0

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Markdown Syntax 2.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的主要内容,如果未能解决你的问题,请参考以下文章

Markdown: Syntax Text

Computer Science - Markdown - Syntax

445Markdown Syntax

Markdown: Syntax

markdown static,block,java,syntax

markdown java,try,catch,syntax