Markdown使用教程


目录

A brief introduction to how to use markdown for Typora.

Block Elements

Paragraph and line breaks

press Enter to create a new paragraph

press Shift + Enter to create a single line break,to make other markdown parsers recognize your line break, you can leave tow whitespace at the end of the line,or insert

Headers

input '#' 1-6 header levels

Blockquotes

input '>' followed by quote contents a block quote is generated.

for example

Lists

Input * or + or - list item will create an un-ordered list

  • first
  • two

Input 1. list item will create an ordered list

  1. first
  2. two

Task List

input [ ] or [x] for task lists

  • [ ] a task list item

  • [ ] another task list item

(Fenced)Code Blocks

Input ``` and press return(enter)

public static void main() {
  System.out.println("Hello World!");
}
function hello() {
  console.log('Hello World!');
}

Math Blocks

Input $$ then press 'Return' will trigger an input field which accept Tex/LaTex source.
$$
\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix}
\mathbf{i} & \mathbf{j} & \mathbf{k} \
\frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \
\frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 \
\end{vmatrix}
$$

Tables

Input | First Header | Second Header | and press return key will create a table with two column.

First Header Second Header
Content Cell Content Cell
Content Cell Content Cell
Left-Aligned Center Aligned Right Aligned
col 3 is some wordy text $1600
col 2 is centered $12
zebra stripes are neat $1

Footnotes

You can create footnotes like this1

Horizontal Rules

Input *** or —— on a blank line


YAML Front Matters

Table of Contents

Input `then pressReturn` key will create a section for “Table of Contents”

Span Elements

This is an example inline link.

This link has no title attribute.

This link()

This is an example reference-style link.

百度

百度

URLs

insert urls as links, wrapped by <brackets>.

xdmrpgy@163.com

Images

![Alt text](/path/to/img.jpg "Optional title")

Emphasis

single asterisks

single underscores

*this text is surrounded by literal asterisks*

Strong

double asterisks

Code

Use the printf()function

Unlike a pre-formatted code block, a code span indicates code within a normal paragraph

Strikethrough

Mistaken text.

Underline

Underline

Emoji:happy:

Input emoji with syntax

:smile:

😄

:cry:

😢

Inline Math

$\lim_{x \to \infty} \exp(-x) = 0$

Subscript

To use this feature, first, please enable it in Preference Panel -> Markdown Tab. Then use ~ to wrap subscript content,for example:H~2~O,X~longtext~ /

Superscript

To use this feature, first, please enable it in Preference Panel -> Markdown Tab. Then use ^ to wrap superscript content, for example: x^2^

Highlight

To use this feature, first, please enable it in Preference Panel -> Markdown Tab. Then use == to wrap highlight content, for example: ==highlight==


  1. text

优质内容筛选与推荐>>
1、Ubuntu 12.04 xrdp failed to load session 'ubuntu'
2、python learning Functional Programming.py
3、[导入]一主干网络光缆断网民上网受阻
4、【JavaScript框架封装】实现一个类似于JQuery的选择框架的封装
5、@关键字的妙用


长按二维码向我转账

受苹果公司新规定影响,微信 iOS 版的赞赏功能被关闭,可通过二维码转账支持公众号。

    阅读
    好看
    已推荐到看一看
    你的朋友可以在“发现”-“看一看”看到你认为好看的文章。
    已取消,“好看”想法已同步删除
    已推荐到看一看 和朋友分享想法
    最多200字,当前共 发送

    已发送

    朋友将在看一看看到

    确定
    分享你的想法...
    取消

    分享想法到看一看

    确定
    最多200字,当前共

    发送中

    网络异常,请稍后重试

    微信扫一扫
    关注该公众号





    联系我们

    欢迎来到TinyMind。

    关于TinyMind的内容或商务合作、网站建议,举报不良信息等均可联系我们。

    TinyMind客服邮箱:support@tinymind.net.cn