当前位置:网站首页>Some writing skills commonly used in Markdown

Some writing skills commonly used in Markdown

2022-08-11 05:46:00 FussyCat

Common writing skills for writing .md files with Markdown

1. Drawing the table

There are two ways to draw tables with markdown, one is to use the pipe character "|" to draw, and the other is to use html format to draw.

1.1 Using the pipe character "|"

The syntax is as follows:

| Header A | Header B || ---- | ---- || cell 1 | cell 2 || cell 3 | cell 4 |

Effect:

Header AHeader B
Cell 1Cell 2
Cell 3Cell 4

1.2 in html format

class name StudentClass
attribute property nameProperty TypeProperty Description
name String Name
age int Age
grade int Age
Introduction This is a Student class...

Effect:

class name StudentClass
attribute property nameAttribute TypeAttribute Description
name String Name
age int Age
grade int Age
Introduction This is a Student class...
原网站

版权声明
本文为[FussyCat]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/223/202208110512506455.html