By injecting configuration into vuepress-plugin-container, you can use
::: center
Paragraph to center
:::
::: right
Right paragraph
:::
To customize your paragraph alignment.
Config
module.exports = {
plugins: [
[
"markdown-enhance",
{
// Enable Align
align: true,
},
],
],
};
Demo
vuepress-theme-star v2 is still in W.I.P, the API may have
If you meet a bug during usage, you can
:::: danger
vuepress-theme-star v2 is still in W.I.P, the API may have
::: center
Significant changes.
:::
If you meet a bug during usage, you can
::: right
[Mention an issue](https://github.com/vuepress-theme-star/vuepress-theme-star/issues).
:::
::::
Other custom containers
INFO
Information container
TIP
Tip container
WARNING
Warning container
DANGER
Dangerous container
Details
Details container
custom title
A custom information container
custom title
A custom tip container
custom title
A custom warning container
custom Title
A custom danger container
custom title
A custom details container
::: info
Information container
:::
::: tip
Tip container
:::
::: warning
Warning container
:::
::: danger
Dangerous container
:::
::: details
Details container
:::
::: info custom title
A custom information container
:::
::: tip custom title
A custom tip container
:::
::: warning custom title
A custom warning container
:::
::: danger custom Title
A custom danger container
:::
::: details custom title
A custom details container
:::