markdown是否支持本机文本对齐而不使用html + css?


当前回答

原生markdown不支持没有HTML + css的文本对齐。

其他回答

原生markdown不支持没有HTML + css的文本对齐。

为了在md文件中居中文本,你可以使用center标签,如html标签:

<center>Centered text</center>

居中对齐,将你想居中对齐的文本用箭头(-> <-)环绕起来,就像这样:

-> This is center aligned <-

对于带有attr_list扩展名的python markdown,语法略有不同:

{: #someid .someclass somekey='some value' }

例子:

[Click here](http://exmaple.com){: .btn .btn-primary }

Lead information paragraph
{: .lead }

在Github你需要写:

<p align="justify">
  Lorem ipsum
</p>