问题描述
我正在努力在字符串开始生成我的GitHub README.md
之前添加空格.看起来像这样:
I'm struggling to add empty spaces before the string starts to make my GitHub README.md
looks something like this:
现在看起来像这样:
我尝试添加<br />
标记来修复新的字符串开始,现在可以了,但是我不理解如何在字符串开始之前添加空格而不将所有内容更改为
.也许有一种更优雅的格式化方式?
I tried adding <br />
tag to fix the new string start, now it works, but I don't understand how to add spaces before the string starts without changing everything to
. Maybe there's a more elegant way to format it?
推荐答案
您可以使用Unicode em空间(在UTF-8中为8195),而不是使用
和 
之类的HTML实体(如其他建议) ) 直接地.尝试将以下内容复制粘贴到您的README.md
中.行首的空格是em空格.
Instead of using HTML entities like
and  
(as others have suggested), you can use the Unicode em space (8195 in UTF-8) directly. Try copy-pasting the following into your README.md
. The spaces at the start of the lines are em spaces.
The action of every agent <br />
into the world <br />
starts <br />
from their physical selves. <br />
这篇关于如何在GitHub上的MD markdown自述文件中添加空格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!