当前位置:网站首页>Markdown in CSDN sets the width of table columns
Markdown in CSDN sets the width of table columns
2022-07-18 07:14:00 【Old_ Driver_ Lee】
List of articles
CSDN Use in Markdown Set the table column width , All kinds of words on the Internet Markdown grammar , Include span,css etc. , Use Typora Wait until the editor is ok , But import into CSDN in , Is failure .
So here we use a simple one that is more painful Tips , Make it CSDN Mandatory in ! Force to change the width !.
One 、 Example : Before the change
The width has been squeezed out of shape , Very ugly .
| Serial number | type | standard | give an example & remarks |
|---|---|---|---|
| 1 | file name | Full lowercase , Underline split | |
| 2 | macro Constant Enumerated values goto label | All capitals 、 Underline split | |
| 4 | function Enumeration type Type of structure Consortium type | Hump | In the defined function , Function interfaces published by each module , It can be added on the basis of the big hump : All uppercase module name abbreviation prefix , Divide... With underscores . Functions used inside the module may not be added . for example : xxx GPIO_GetLevel(xxx); |
| 6 | Global variables local variable Function parameter Macro parameters Structural members Consortium member name | Little hump | (1) Global variables can be prefixed :g_ ( Another suggestion ) (2) Keep local variables as short as possible , The context can see the meaning , There is no need to name it in detail . (3) The larger the range of variables , The finer the name should be |
Two 、 Modification method
Modify method 1 、 Label the header
remarks : This method is unsightly in the middle , Unless on both sides emsp The width adjustment is the same .
The following code :
<span style="white-space:nowrap;"> type         </span>
Modify method 2 : Add a blank row at the end of the table , Fill in the full space , Support the width of the form .
remarks : This method has one more blank line , Ugly . Choose which method depends on personal choice .
The following code :
| ** Serial number ** | ** type ** | ** standard ** | ** give an example & remarks ** |
| :--------: | :----------: | :---------: | :------------- |
|1||||
|2||||
|3||||
......
|    |          |            | |
3、 ... and 、 Example : After modification
| Serial number | type | standard | give an example & remarks |
|---|---|---|---|
| 1 | file name | Full lowercase , Underline split | |
| 2 | macro Constant Enumerated values goto label | All capitals 、 Underline split | |
| 4 | function Enumeration type Type of structure Consortium type | Hump | In the defined function , Function interfaces published by each module , It can be added on the basis of the big hump : All uppercase module name abbreviation prefix , Divide... With underscores . Functions used inside the module may not be added . for example : xxx GPIO_GetLevel(xxx); |
| 5 | Global variables local variable Function parameter Macro parameters Structural members Consortium member name | Little hump | (1) Global variables can be prefixed :g_ ( Another suggestion ) (2) Keep local variables as short as possible , The context can see the meaning , There is no need to name it in detail . (3) The larger the range of variables , The finer the name should be |
边栏推荐
猜你喜欢

MODBUS-RS485布线的8条准则
![[interview must brush 101] hash](/img/01/982c24e923563d74436f91dd4f573e.png)
[interview must brush 101] hash

(戴尔灵越7572)笔记本外扩显示器以后,笔记本没有声音了的解决办法

Compileflow Taobao Workflow Engine

Cron表达式使用

用命令行登录并操作数据库

Asymmetric encryption RSA and symmetric encryption AES project application

Ffmpeg sample analysis: muting c

Idea class document annotation template settings

Typora changes text color and line breaks
随机推荐
60 year old developer's suggestion, try to change it!
Illegal profits exceed one million, and new outlets in the industry are being cracked and eroded
Sensor principle article
How to save using OpenCV Mp4 format file
[interview must brush 101] hash
Writing PHP form data to MySQL code
Using chardet to detect web page coding
Lifecycle: the foundation of lifecycle aware components - jetpack series (1)
头文件里面的ifndef /define/endif的作用
C语言:【位域操作】(结构体中使用冒号)
Rhcsa note 2
MySQL pymysql module
通达信开户安全吗? 开户哪个证券好
传值、传引用、传指针
Programming exercises
MODBUS-RS485布线的8条准则
Idea class document annotation template settings
Excel import / export annotation General Edition
Enumeration, do you know it?
2021年全国职业院校技能大赛(中职组)网络安全竞赛试题(9)思路