当前位置:网站首页>How to type multiple spaces when editing CSDN articles

How to type multiple spaces when editing CSDN articles

2022-07-06 19:06:00 potato

problem

Each time CSDN When you're blogging , No matter how many spaces you type in the editor or Tab key , But only one space is displayed in the text effect , Cannot display multiple spaces . Just like this. :
 Please add a picture description

solve

because CSDN Article editors follow HTML, So we replace the blank space with HTML The code will do , Just like this. :

name Code length
Do not wrap spaces   The width of regular spaces
Half space   The width of a letter
Full space   The width of a word
Narrow space   The width of half a letter

effect

1、 Do not wrap spaces ( 

 Zhang San   Li Si 
 Zhang San    Li Si 
 Zhang San     Li Si 
 Zhang San      Li Si 

effect :

Zhang San   Li Si
Zhang San    Li Si
Zhang San     Li Si
Zhang San      Li Si

2、 Half space ( 

 Zhang San   Li Si 
 Zhang San    Li Si 
 Zhang San     Li Si 
 Zhang San      Li Si 

effect :

Zhang San   Li Si
Zhang San    Li Si
Zhang San     Li Si
Zhang San      Li Si

3、 Full space ( 

 Zhang San   Li Si 
 Zhang San    Li Si 
 Zhang San     Li Si 
 Zhang San      Li Si 

effect :

Zhang San   Li Si
Zhang San    Li Si
Zhang San     Li Si
Zhang San      Li Si

4、 Narrow space ( 

 Zhang San   Li Si 
 Zhang San    Li Si 
 Zhang San     Li Si 
 Zhang San      Li Si 

effect :

Zhang San   Li Si
Zhang San    Li Si
Zhang San     Li Si
Zhang San      Li Si

原网站

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