Files
typora-theme-Fugu/演示.md
2024-03-22 22:18:44 +08:00

7.6 KiB
Raw Permalink Blame History

一级标题

二级标题

三级标题

四级标题

五级标题
六级标题

水平线




排版替换

启用排版选项查看结果。

(c) (C) (r) (R) (tm) (TM) (p) (P) +-

测试.. 测试... 测试..... 测试?..... 测试!....

!!!!!! ???? ,, -- ---

“智能引号,双引号”和‘单引号’

强调

这是加粗文字

这是加粗文字

这是斜体文字

这是斜体文字

删除线

引用

引用也可以嵌套...

...通过在旁边增加更多的大于号...

...或者使用箭头之间的空格。

列表

无序列表

  • 通过在一行开头使用+-*来创建列表

  • 子列表通过缩进2个空格制作

    • 更换标记字符强制开始新列表:

      • 在Ac tristique libero volutpat at
      • Facilisis in pretium nisl aliquet
      • Nulla volutpat aliquam velit
  • 非常简单!

有序列表

  1. Lorem ipsum dolor sit amet

  2. Consectetur adipiscing elit

  3. Integer molestie lorem at massa

  4. 你可以使用顺序数字...

  5. ...或者保持所有数字为1.

带偏移的编号开始:

  1. foo
  2. bar

代码

行内 代码

缩进代码

// 一些评论
代码行 1
代码行 2
代码行 3

代码块“栅栏”

这里填写示例文本...

语法高亮

var foo = function (bar) {
  return bar++;
};

console.log(foo(5));

表格

选项 描述
data 供模板使用的数据文件路径。
engine 用于处理模板的引擎。默认为Handlebars。
ext 目标文件的扩展名。

右对齐列

选项 描述
data 供模板使用的数据文件路径。
engine 用于处理模板的引擎。默认为Handlebars。
ext 目标文件的扩展名。

链接

链接文本

带标题的链接

自动转换的链接 https://github.com/nodeca/pica (启用链接化功能查看)

图像

小黄人 暴风兵猫

像链接一样,图像也有脚注样式的语法

替代文本

文档后面用来定义URL位置的引用

插件

markdown-it的杀手锏是对语法插件的非常有效支持。

表情符号

经典标记:😉 😢 😆 😋

快捷方式(表情图标)::-) :-( 8-) ;)

查看如何更改输出 使用twemoji。

下标 / 上标

  • 19^th^
  • H2O

<mark>

==标记文本==

脚注

脚注1链接1

脚注2链接2

行内脚注^[行内脚注文本]定义。

重复的脚注引用2

h1 Heading 8-)

h2 Heading

h3 Heading

h4 Heading

h5 Heading
h6 Heading

Horizontal Rules




Typographic replacements

Enable typographer option to see result.

(c) (C) (r) (R) (tm) (TM) (p) (P) +-

test.. test... test..... test?..... test!....

!!!!!! ???? ,, -- ---

"Smartypants, double quotes" and 'single quotes'

Emphasis

This is bold text

This is bold text

This is italic text

This is italic text

Strikethrough

Blockquotes

Blockquotes can also be nested...

...by using additional greater-than signs right next to each other...

...or with spaces between arrows.

Lists

Unordered

  • Create a list by starting a line with +, -, or *
  • Sub-lists are made by indenting 2 spaces:
    • Marker character change forces new list start:

      • Ac tristique libero volutpat at
      • Facilisis in pretium nisl aliquet
      • Nulla volutpat aliquam velit
  • Very easy!

Ordered

  1. Lorem ipsum dolor sit amet

  2. Consectetur adipiscing elit

  3. Integer molestie lorem at massa

  4. You can use sequential numbers...

  5. ...or keep all the numbers as 1.

Start numbering with offset:

  1. foo
  2. bar

Code

Inline code

Indented code

// Some comments
line 1 of code
line 2 of code
line 3 of code

Block code "fences"

Sample text here...

Syntax highlighting

var foo = function (bar) {
  return bar++;
};

console.log(foo(5));

Tables

Option Description
data path to data files to supply the data that will be passed into templates.
engine engine to be used for processing templates. Handlebars is the default.
ext extension to be used for dest files.

Right aligned columns

Option Description
data path to data files to supply the data that will be passed into templates.
engine engine to be used for processing templates. Handlebars is the default.
ext extension to be used for dest files.

link text

link with title

Autoconverted link https://github.com/nodeca/pica (enable linkify to see)

Images

Minion Stormtroopocat

Like links, Images also have a footnote style syntax

Alt text

With a reference later in the document defining the URL location:

Plugins

The killer feature of markdown-it is very effective support of syntax plugins.

Emojies

Classic markup: 😉 😢 😆 😋

Shortcuts (emoticons): :-) :-( 8-) ;)

see how to change output with twemoji.

Subscript / Superscript

  • 19^th^
  • H2O

<mark>

==Marked text==

Footnotes

Footnote 1 link1 .

Footnote 2 link2 .

Inline footnote^[Text of inline footnote] definition.

Duplicated footnote reference2 .


  1. 脚注可以包含标记

    并且包含多个段落。 ↩︎

  2. 脚注文本。 ↩︎