GitHub markdown缩进挂起缩进



我正在尝试使用github制作一个网页。但我在尝试制作一个悬挂式缩进时被卡住了

我想用apa格式制作一份参考名单。(普通文本,非代码(

A., B., & C., D. (2020, August 1). Name of the paper. Name of the paper Name of the paper
Name of the paper Name of the  paper. Journal of ABC. Retrieved from
https://doi.org/1.1.2.2.2./deew/37.4.433

我一直在四处寻找,但我找不到办法。

最后,这就是我发现的

A., B., & C., D. (2020, August 1). Name of the paper. Name of the 
paper Name of the paper Name of the paper <br> 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;Name of the  paper. Journal of ABC. Retrieved from 
https://doi.org/1.1.2.2.2./deew/37.4.433

产生以下

A。,B.、&C.,D.(2020年8月1日(。论文名称。纸张名称纸张名称
纸张名称。ABC杂志。检索自
https://doi.org/1.1.2.2.2./deew/37.4.433

但我认为这不是一个非常有效的方法。我想知道你是否有更好的想法?谢谢

如果你需要更多信息,请告诉我。我还在努力学习github。

很抱歉延迟响应,但这是针对其他有相同问题的

您想要的悬挂缩进在某种程度上是您在列表项之后看到的处理方式,在下一行中,在文本之前添加空格

1. List item itself
(space)(space)Hanging indent that is handled to make nice multiline list items
2. Next list item

在降价本身中通常是不可能的。在HTML+CSS中,您可以这样做:

<p style="padding-left: 2em; text-indent: -2em;">
(a) in relation to an exempt payment service provider 
mentioned in subsection (1)(a), means any of the following 
payment services:
</p>

但并不总是可以在Markdown支持的HTML中使用CSS。

已经探索了一些解决方案

最新更新