Skip to content

Commit 10549a1

Browse files
committed
refactor(plugin-container)!: change the default class to custom-container
1 parent 6290469 commit 10549a1

File tree

1 file changed

+2
-2
lines changed
  • packages/@vuepress/plugin-container/src

1 file changed

+2
-2
lines changed

packages/@vuepress/plugin-container/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ export const containerPlugin: Plugin<ContainerPluginOptions> = ({
7676
} else {
7777
// fallback
7878
renderBefore = (info: string): string =>
79-
`<div class="custom-block ${type}">${
80-
info ? `<p class="custom-block-title">${info}</p>` : ''
79+
`<div class="custom-container ${type}">${
80+
info ? `<p class="custom-container-title">${info}</p>` : ''
8181
}\n`
8282
renderAfter = (): string => '</div>\n'
8383
}

0 commit comments

Comments
 (0)