Markdown代码:
'# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6 '
输出:
Markdown代码:
`**Bold Text**'
输出:粗体文本
Markdown代码:
`*Italic Text*`
输出:斜体文本
Markdown代码:
`***Bold and Italic Text***`
输出:粗体和斜体文本
Markdown代码:
`~~Strikethrough Text~~`
输出:罢工文字
Markdown代码:
`- Item 1
- Item 2
- Subitem 2.1
- Subitem 2.2`
输出:
Markdown代码:
`1. First Item
2. Second Item
3. Third Item`
输出:
Markdown代码:
`- [x] Completed Task
- [ ] Incomplete Task`
输出:
Markdown代码:
`> Blockquote Text`
输出:
BlockQuote文字
Markdown代码:
`[Google](https://www.google.com)`
输出: Google
Markdown代码:
``
输出:
Markdown代码:
`[](https://www.google.com)`
输出:
Markdown代码:
`:smile:`
输出: ?
Markdown代码:
`---`
Markdown代码:
`` `Inline Code` ``
输出: Inline Code
降价代码: `
Another Line of Code
**Output:**
`Code Block
Another Line of Code`
### 17. Table
**Markdown Code:**
| Header 1 | Header 2 |
|----------|----------|
| Cell 1 | Cell 2 |
| Cell 3 | Cell 4 |`
**Output:**
| Header 1 | Header 2 |
|----------|----------|
| Cell 1 | Cell 2 |
| Cell 3 | Cell 4 |`
### 18. Table With Alignments
**Markdown Code:**
| Left Align | Center Align | Right Align |
|:-----------|:------------:|------------:|
| Cell 1 | Cell 2 | Cell 3 |
**Output:**
| Left Align | Center Align | Right Align |
|:-----------|:------------:|------------:|
| Cell 1 | Cell 2 | Cell 3 |
### 19. HTML
**Markdown Code:**
`<b>Bold Text using HTML</b>`
**Output:** <b>Bold Text using HTML</b>
### 20. Embed YouTube Video
**HTML Code:**
<iframe width="560" height="315" src="https://www.youtube.com/embed/VIDEO_ID" frameborder="0" allowfullscreen></iframe>
Markdown代码:
`$$ E = mc^2 $$`
输出: $$ e = mc^2 $$
HTML代码:
`<details>
<summary>Title</summary>
Content here...
</details>`
输出:
降价本身不支持图表。为此,您需要第三方工具或扩展名。但是,某些平台和工具具有集成的服务,例如美人鱼或Plantuml,以允许在Markdown内进行图表渲染。这是使用美人鱼语法的示例:
mermaid graph TD; A-->B; A-->C; B-->D; C-->D;
(注意:该图的实际渲染将取决于平台对美人鱼或其他图表工具的支持。)
对于不支持美人鱼或类似工具的平台,您可能需要在外部生成图表,将其保存为图像,然后将图像嵌入在Markdown文档中。
Markdown代码:
`Here's a statement[^1].
[^1]: This is the footnote.`
输出:这是一个语句1(关于我们的bong.dev-团结,学习和代码)。
Markdown代码:
`[//]: # (This is a comment.)`
输出: [//]:#(这是评论。)
您可以通过添加其他>字符来筑巢。
Markdown代码:
`> First Level
>> Second Level
>>> Third Level`
输出:
第一级
第二级
第三级
您可以在Markdown中使用任何HTML标签。
Markdown代码:
`This is <span style="color:red">red</span> text.`
输出:这是红色文本。
如果要显示在Markdown中具有特殊含义的角色,则可以使用后斜击( )逃脱它。
Markdown代码:
`*This is not italic*`
输出:这不是斜体
您可以定义链接,然后在文档中的其他位置将其引用以获取更清洁的标记。
Markdown代码:
`[Google][1]
[GitHub][2]
输出: Google Github
就像参考链接一样,但用于图像。
Markdown代码:
`![Alt Text][image1]
[image1]: https://via.placeholder.com/150`
输出:
定义缩写,该缩写将在徘徊时显示出解释。
Markdown代码(需要特定的Markdown解析器,例如PHP Markdown Extra):
`The HTML specification is maintained by the W3C.
*[HTML]: Hyper Text Markup Language
*[W3C]: World Wide Web Consortium`
输出: HTML规范由W3C维护。
*[html]:超级文本标记语言 *[W3C]:万维网联盟
创建一个列表列出其相应的定义。
Markdown代码(需要特定的Markdown解析器,例如PHP Markdown Extra):
`Apple
: A fruit that is red or green.
Orange
: A juicy citrus fruit.`
输出:苹果:红色或绿色的水果。橙色:多汁的柑橘类水果。
要创建一个线路,请用两个或两个以上的空格结束线路,然后键入返回。
Markdown代码:
`This is the first line.
This is the second line.`
输出:这是第一行。
这是第二行。
Markdown本身并不直接支持下拉次数,但是您可以在Markdown中使用HTML来实现这一目标。
<details> <summary>Click to expand!</summary>
Content inside the dropdown.
</details>
下拉列表中的内容。
降价代码
Term 1
: Give defination for first term.
Term 2
: Give definition for second term.
输出:
学期1:给出第一学期的限定。
学期2:给出第二学期的定义。
降价代码
*This won't be* **parsed as** [Markdown]. : *这不会 *解析为[Markdown]。
H<sub>2</sub>0 is a chemical formula. :H 2 0是一个化学公式。
X<sup>2</sup> is an exponent. :x 2是指数。
按照Markdown代码中提到的语法:
Python
def stytax_highlighting():
打印(“突出显示代码”)
def syntax_highlighting ():
print ( "Highlighted code" )降价代码
Here's some text with a footnote about what I love very much[^1].
[^1]: This is the footnote that says I love Music.
这是一些关于我非常喜欢的脚注的文字1 。
降价代码
> This is a blockquote.
> -- Alpha Mango.
这是一个模块。 - 阿尔法芒果。
降价代码
- Item 1
- Subitem 1
- Subsubitem 1
- Item 2
降价代码
This is an inline math equation(identity): $e^{ipi} + 1 = 0$
这是一个内联数学方程(身份):
Markdown代码:
- [x] Task 1
- [ ] Task 2
Completed Pending 降价代码
10. Item 1
20. Item 2
30. Item 3
降价代码
| Student | Subject | Grade |
| ------------- | --------------- | ----- |
| Alice | Math | A |
| | Physics | B |
| | Chemistry | A |
| ------------- | --------------- | ----- |
| Bob | Math | B |
| | Physics | A |
| | Chemistry | B |
| | Biology | C |
| ------------- | --------------- | ----- |
| Carol | Math | A |
| | Physics | A |
| | Chemistry | A |
| ------------- | --------------- | ----- |
| David | Math | C |
| | Physics | B |
| | Chemistry | B |
| ------------- | --------------- | ----- |
| 学生 | 主题 | 年级 |
|---|---|---|
| 爱丽丝 | 数学 | 一个 |
| 物理 | b | |
| 化学 | 一个 | |
| ---------------------------- | ----------------------- | ------- |
| 鲍勃 | 数学 | b |
| 物理 | 一个 | |
| 化学 | b | |
| 生物学 | c | |
| ---------------------------- | ----------------------- | ------- |
| 颂歌 | 数学 | 一个 |
| 物理 | 一个 | |
| 化学 | 一个 | |
| ---------------------------- | ----------------------- | ------- |
| 大卫 | 数学 | c |
| 物理 | b | |
| 化学 | b | |
| ---------------------------- | ----------------------- | ------- |
我们也可以使用嵌套列表
| Student | Subjects | Grades |
| ------------- | --------------------------------------------------- | ------------ |
| Alice | - Math<br> - Algebra<br> - Geometry | A<br> B<br> A |
| Bob | - Math<br> - Physics<br> - Chemistry<br> - Biology | B<br> A<br> B<br> C |
| Carol | - Math<br> - Physics<br> - Chemistry | A<br> A<br> A |
| David | - Math<br> - Physics<br> - Chemistry | C<br> B<br> B |
| 学生 | 主题 | 等级 |
|---|---|---|
| 爱丽丝 | - 数学 - 代数 - 几何学 | 一个 b 一个 |
| 鲍勃 | - 数学 - 物理学 - 化学 - 生物学 | b 一个 b c |
| 颂歌 | - 数学 - 物理学 - 化学 | 一个 一个 一个 |
| 大卫 | - 数学 - 物理学 - 化学 | c b b |
- Item 1
- Subitem A
1. Numbered Sub-subitem
2. Another Numbered Sub-subitem
- Subitem B
- Item 2
降价代码
My favourite book currently is **[An Introduction to *Statistical Learning*](https://www.statlearning.com/)**.
我目前最喜欢的书是统计学习的简介。
降价代码
This is an example of `inline code with` nested `backticks`.
这是带有嵌套backticks inline code with的示例。
降价代码
Term 1
: Definition 1
- Sub-definition 1
- Sub-definition 2
Term 2
: Definition 2
- Sub-definition 3
学期1:定义1
项2:定义2
降价代码
- Item 1
| Header 1 | Header 2 |
| -------- | -------- |
| Cell 1 | Cell 2 |
- Item 2
| 标题1 | 标题2 |
|---|---|
| 单元1 | 细胞2 |
这是我喜欢音乐的脚注。 ↩