Alignment

Mr.Hope ... 2020-1-7 Less than 1 minute

By injecting configuration into vuepress-plugin-container, you can use

::: center
Paragraph to center
:::

::: right
Right paragraph
:::
1
2
3
4
5
6
7

To customize your paragraph alignment.

# Config







 





module.exports = {
  plugins: [
    [
      "md-enhance",
      {
        // Enable Align
        align: true,
      },
    ],
  ],
};
1
2
3
4
5
6
7
8
9
10
11

# Demo

Warning

VuePress Theme Hope V2 version is still in W.I.P, the API may have

Significant changes.

If you meet a bug during usage, you can

:::: danger
VuePress Theme Hope V2 version is still in W.I.P, the API may have

::: center
Significant changes.
:::

If you meet a bug during usage, you can

::: right
[open an issue](https://github.com/vuepress-theme-hope/vuepress-theme-hope/issues).
:::
::::
1
2
3
4
5
6
7
8
9
10
11
12
13
Last update: June 4, 2022 13:16
Contributors: Mr.Hope , Mr.Hope