目录
字体
强调
列表
链接
图片
代码和高亮
脚注
表格
块引用
内联网页
水平线
换行
字体
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# H1 ## H2 ### H3 #### H4 ##### H5 ###### H6 H1和H2也可以使用下划线样式: Alt-H1 ====== Alt-H2 ------ |
H1
H2
H3
H4
H5
H6
H1和H2也可以使用下划线样式:
Alt-H1
Alt-H2
强调
1 2 3 4 5 6 7 8 |
Emphasis, aka italics, with *asterisks* or _underscores_. Strong emphasis, aka bold, with **asterisks** or __underscores__. Combined emphasis with **asterisks and _underscores_**. Strikethrough uses two tildes. ~~Scratch this.~~ |
Emphasis, aka italics, with asterisks or underscores.
Strong emphasis, aka bold, with asterisks or underscores.
Combined emphasis with asterisks and underscores.
Strikethrough uses two tildes. ~~Scratch this.~~
列表
(在此示例中,前后的空格用点显示: ⋅)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
1. First ordered list item 2. Another item ⋅⋅* Unordered sub-list. 1. Actual numbers don't matter, just that it's a number ⋅⋅1. Ordered sub-list 4. And another item. ⋅⋅⋅You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we'll use three here to also align the raw Markdown). ⋅⋅⋅To have a line break without a paragraph, you will need to use two trailing spaces.⋅⋅ ⋅⋅⋅Note that this line is separate, but within the same paragraph.⋅⋅ ⋅⋅⋅(This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.) * Unordered list can use asterisks - Or minuses + Or pluses |
- First ordered list item
-
Another item
- Unordered sub-list.
-
Actual numbers don’t matter, just that it’s a number
- Ordered sub-list
-
And another item.
You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we’ll use three here to also align the raw Markdown).
To have a line break without a paragraph, you will need to use two trailing spaces.
Note that this line is separate, but within the same paragraph.
(This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.)
- Unordered list can use asterisks
- Or minuses
- Or pluses
链接
There are two ways to create links.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
[I'm an inline-style link](https://www.kasoftware.com) [I'm an inline-style link with title](https://www.kasoftware.com "知行软件官网") [I'm a reference-style link][Arbitrary case-insensitive reference text] [I'm a relative reference to a repository file](../blob/master/LICENSE) [You can use numbers for reference-style link definitions][1] Or leave it empty and use the [link text itself]. URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com or <http://www.example.com> and sometimes example.com (but not on Github, for example). Some text to show that the reference links can follow later. [arbitrary case-insensitive reference text]: https://www.mozilla.org [1]: http://slashdot.org [link text itself]: http://www.reddit.com |
I’m an inline-style link with title
I’m a relative reference to a repository file
You can use numbers for reference-style link definitions
Or leave it empty and use the link text itself.
URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com or http://www.example.com and sometimes example.com (but not on Github, for example).
Some text to show that the reference links can follow later.
图片
1 2 3 4 5 6 7 8 9 10 11 12 |
Here's our logo (hover to see the title text): Inline-style: ![alt text](https://www.kasoftware.com/wp-content/uploads/2013/11/favicon.png "Logo Title Text 1") Reference-style: ![alt text][logo] [logo]: https://www.kasoftware.com/wp-content/uploads/2013/11/favicon.png "Logo Title Text 2" [知行之桥2023]: https://www.kasoftware.com/wp-content/uploads/2023/05/edi-system-20231.png |
Here’s our logo (hover to see the title text):
Inline-style:
Reference-style:
代码和高亮
1 2 |
Inline `code` has `back-ticks around` it. |
Inline code
has back-ticks around
it.
1 2 3 4 5 6 7 8 9 10 11 |
# 删除tag中的- <-pre><-code> <arc:set attr="attr.name" value="Test"/> [attr.name] </-code></-pre> <arc:set attr="attr.name" value="Test"/> [attr.name] |
脚注
1 2 3 4 5 6 7 8 9 10 11 12 13 |
很多企业都开始接入EDI来改善供应链[^1]. 脚注可以有多行[^2]. 你也可以使用单词来代表特殊的脚注[^note]. [^1]: [EDI是什么](https://www.kasoftware.com/edi.html). [^2]: 每一行前应加上两个空格。 这允许您使用包含多行的脚注。 [^note]: 命名脚注仍将使用数字而不是文本呈现,但允许更容易识别和链接。 此脚注也使用不同的语法制作,使用 4 个空格作为新行。 |
很多企业都开始接入EDI来改善供应链1.
脚注可以有多行2.
你也可以使用单词来代表特殊的脚注3.
表格
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
冒号可用于对齐列 | Tables | Are | Cool | | ------------- |:-------------:| -----:| | col 3 is | right-aligned | $1600 | | col 2 is | centered | $12 | | zebra stripes | are neat | $1 | 每个标题单元格之间必须至少有 3 个破折号分隔。两边的管道 (|) 是可选的。 报文 | 报文名称 | 中文释义 :---:|:---:|:---: [850](https://www.kasoftware.com/schema/edi/x12/00401/messages/850/) | Purchase Order | 采购订单 [855](https://www.kasoftware.com/schema/edi/x12/00401/messages/855/) | Purchase Order Acknowledgment | 采购订单确认 [852](https://www.kasoftware.com/schema/edi/x12/00401/messages/852/) | Product Activity (Outbound) | 产品活动数据(发送) [852](https://www.kasoftware.com/schema/edi/x12/00401/messages/852/) | Product Activity (Inbound) | 产品活动数据(接收) |
冒号可用于对齐列
Tables | Are | Cool |
---|---|---|
col 3 is | right-aligned | $1600 |
col 2 is | centered | $12 |
zebra stripes | are neat | $1 |
每个标题单元格之间必须至少有 3 个破折号分隔。两边的管道 (|) 是可选的。
报文 | 报文名称 | 中文释义 |
---|---|---|
850 | Purchase Order | 采购订单 |
855 | Purchase Order Acknowledgment | 采购订单确认 |
852 | Product Activity (Outbound) | 产品活动数据(发送) |
852 | Product Activity (Inbound) | 产品活动数据(接收) |
块引用
1 2 3 4 5 6 7 8 |
> 块引用在电子邮件中非常方便,可以模拟回复文本。 > 这一行是同一引号的一部分。 Quote break. > 这是一行很长的行,在换行时仍然会被正确引用。哦,男孩,让我们继续写,以确保这足够长,可以真正为每个人包装。哦,你可以*把**Markdown**放到一个块引用中。 |
块引用在电子邮件中非常方便,可以模拟回复文本。 这一行是同一引号的一部分。
Quote break.
这是一行很长的行,在换行时仍然会被正确引用。哦,男孩,让我们继续写,以确保这足够长,可以真正为每个人包装。哦,你可以*把Markdown放到一个块引用中。
内联网页
You can also use raw HTML in your Markdown, and it’ll mostly work pretty well.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
<table> <tr> <th>编号</th> <th colspan="2">姓名</th> </tr> <tr> <td>1</td> <td>张</td> <td>三</td> </tr> <tr> <td>2</td> <td>李</td> <td>四</td> </tr> </table> |
编号 | 姓名 | |
---|---|---|
1 | 张 | 三 |
2 | 李 | 四 |
水平线
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Three or more... --- Hyphens *** Asterisks ___ Underscores |
Three or more…
Hyphens
Asterisks
Underscores
换行
1 2 3 4 5 6 7 |
这是我们从一条线开始的。 此行与上面的行由两个换行符分隔,因此它将是一个*单独的段落*。 这一行也是一个单独的段落,但是... 此行仅由一个换行符分隔,因此它是*同一段落*中的单独行。 |
这是我们从一条线开始的。
此行与上面的行由两个换行符分隔,因此它将是一个单独的段落。
这一行也是一个单独的段落,但是… 此行仅由一个换行符分隔,因此它是同一段落中的单独行。