【问题标题】:Write one line with different align in Markdown在 Markdown 中用不同的对齐方式写一行
【发布时间】:2021-01-23 04:15:28
【问题描述】:

我正在写简历,想知道如何在单行中使用不同的行。

比如我想写那句话

ABC 大学 2020 年 8 月 - 12 月

如何在不改变 ABC 大学的任何内容的情况下仅右对齐我的时期(2020 年 8 月至 2020 年 12 月)

【问题讨论】:

标签: markdown


【解决方案1】:

您必须使用 HTML。见How may I align text to the left and text to the right in the same line?。

<p style="text-align:left;">
    **ABC university**
    <span style="float:right;">
        *Aug - Dec 2020*
    </span>
</p>

在这里测试一下:

<p style="text-align:left;">
    ABC university
    <span style="float:right;">
        Aug - Dec 2020
    </span>
</p>

【讨论】:

    猜你喜欢
    • 2023-02-22
    • 2013-02-13
    • 2015-01-15
    • 1970-01-01
    • 2010-12-22
    • 2016-09-01
    • 2021-06-12
    • 1970-01-01
    • 2012-10-14
    相关资源
    最近更新 更多