如何使降价文字对齐 [英] How to make markdown text align justify

查看:106
本文介绍了如何使降价文字对齐的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用这个

<p align="justify">
Some plain texts will be aligned justify
</p>

当我只有纯文本时,这真的很棒.但是,如果我想证明这样的理由,那么它将无法正常工作.网址和列表将消失.

It is really awesome when I just have plain text. However, if I would like to justify something like this, it does not work correctly. The url and list will disappear.

[Lorem ipsum dolor sit amet](some-awesome-webpage), consectetur adipisicing elit, sed do eiusmod
- tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
- quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
- consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
```cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non```
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

我的降价工作场所支持html和blablabla.我是新来的.

My workplace for markdown support html and blablabla. I am new to this.

任何建议都会得到赞赏!

Any suggestions will be appreaciated!

谢谢!

推荐答案

在每个格式化的文本块之后,使用CSS进行高级样式设置:

Use CSS to advanced styling, after each formatted text block:

{: style="text-align: justify"}

请参见下面的 http://kramdown.herokuapp.com/的屏幕截图:

See screenshot below from http://kramdown.herokuapp.com/:

这篇关于如何使降价文字对齐的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆