我想在编号之前放置空格.但是,我无法在第二行放置空格.
例如,我想在下面这种格式:
1. This is a question. The second line will have to be indent as well.
Testing on second line now.
THIS IS AN ANSWER SECTION.
Run Code Online (Sandbox Code Playgroud)
但是,我只能得到以下内容:
1. This is a question. The second line will have to be indent as well.
Testing on second line now.
THIS IS AN ANSWER SECTION.
Run Code Online (Sandbox Code Playgroud)
我在这里做了一个小提琴:https://jsfiddle.net/96a7hmq5/15/ 请点击问题以显示更多信息.
小智 5
我知道这可能不言而喻,但如果您只使用有序列表,则会自动处理缩进.
<ol>
<li>This is a question. The second line will have to be indent as well.<br/>
Testing on second line now. <br/>
THIS IS AN ANSWER SECTION.
</li>
<li>This is the 2nd numbered item.<br>
This is the second line of the 2nd item<br>
ANSWER LINE HERE
</li>
</ol>
Run Code Online (Sandbox Code Playgroud)