default tip,warning,danger to empty string

This commit is contained in:
franklinqin0 2020-03-04 19:58:04 +08:00
parent 6e2775cf58
commit 093f03d344

View File

@ -58,21 +58,21 @@ module.exports = (options, ctx) => ({
['container', { ['container', {
type: 'tip', type: 'tip',
defaultTitle: { defaultTitle: {
'/': 'TIP', '/': '',
'/zh/': '提示' '/zh/': '提示'
} }
}], }],
['container', { ['container', {
type: 'warning', type: 'warning',
defaultTitle: { defaultTitle: {
'/': 'WARNING', '/': '',
'/zh/': '注意' '/zh/': '注意'
} }
}], }],
['container', { ['container', {
type: 'danger', type: 'danger',
defaultTitle: { defaultTitle: {
'/': 'WARNING', '/': '',
'/zh/': '警告' '/zh/': '警告'
} }
}], }],
@ -83,7 +83,7 @@ module.exports = (options, ctx) => ({
['container', { ['container', {
type: 'theorem', type: 'theorem',
before: info => `<div class="custom-block theorem"><p class="title">${info}</p>`, before: info => `<div class="custom-block theorem"><p class="title">${info}</p>`,
after: '</div>', after: '</div>'
}], }],
['container', { ['container', {
type: 'details', type: 'details',