|
|
|
|
@ -14,6 +14,9 @@ export const containerPlugin = (
|
|
|
|
|
.use(...createContainer('warning', options?.warningLabel || 'WARNING', md))
|
|
|
|
|
.use(...createContainer('danger', options?.dangerLabel || 'DANGER', md))
|
|
|
|
|
.use(...createContainer('details', options?.detailsLabel || 'Details', md))
|
|
|
|
|
.use(...createContainer('note', options?.noteLabel || 'NOTE', md))
|
|
|
|
|
.use(...createContainer('important', options?.importantLabel || 'IMPORTANT', md))
|
|
|
|
|
.use(...createContainer('caution', options?.cautionLabel || 'CAUTION', md))
|
|
|
|
|
// explicitly escape Vue syntax
|
|
|
|
|
.use(container, 'v-pre', {
|
|
|
|
|
render: (tokens: Token[], idx: number) =>
|
|
|
|
|
|