标签:gen 对齐 name core lex table body 居中 eve
更新时间:2019.09.14
??谈到怎么在Markdown中插入表格,其实只要熟知以下几点就可以了:
|进行内容的分割:和连号符-表示表格内容的对齐情况,连号符-在中间,冒号:在左端表示左对齐,在右端表示右对齐,两端都有表示居中|都可以省略<!--完整写法-->
|name|gender|score|
|:-|:-:|-:|
|Alex|male|90|
|Sheley|female|95|
|John|male|85|
实际效果:
| name | gender | score |
|---|---|---|
| Alex | male | 90 |
| Sheley | female | 95 |
| John | male | 85 |
<!--省略写法-->
name|gender|score
:-|:-:|-:
Alex|male|90
Sheley|female|95
John|male|85
实际效果:
| name | gender | score |
|---|---|---|
| Alex | male | 90 |
| Sheley | female | 95 |
| John | male | 85 |
标签:gen 对齐 name core lex table body 居中 eve
原文地址:https://www.cnblogs.com/liangjianli/p/11519693.html