# 在主题中居中一行

**URL:** <https://meta.discourse.org/t/center-a-line-in-a-topic/127354>\
**Category:** Support\
**Created:** [2019年九月1日 21:52 UTC](https://meta.discourse.org/t/center-a-line-in-a-topic/127354 "2019-09-01T21:52:38Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)\
**Post date:** [2019年九月2日 11:53 UTC](https://meta.discourse.org/t/center-a-line-in-a-topic/127354/3 "2019-09-02T11:53:23Z")

</div>

如果您不想或无法安装插件，我还创建了一个包含几个按钮的主题组件

> [@MD Composer extras](https://meta.discourse.org/t/md-composer-extras/118912):
>
> This theme component adds few formatting options in the composer : underline, align center, align right, justify and strikethrough. You can customize the text of each button in the settings, making it compatible with every languages. Exist in rtl version (change align right to align left).

---

_[View the full topic](https://meta.discourse.org/t/center-a-line-in-a-topic/127354)._
