Compare commits

...

3 Commits

2 changed files with 1 additions and 8 deletions

View File

@ -314,7 +314,6 @@ const graceTheme = toMerged(defaultTheme, {
'border-left': `4px solid var(--md-primary-color)`,
'border-radius': `6px`,
'color': `rgba(0,0,0,0.6)`,
'background': `linear-gradient(to right, #f7f7f7, #ffffff)`,
'box-shadow': `0 4px 6px rgba(0,0,0,0.05)`,
},
@ -323,12 +322,6 @@ const graceTheme = toMerged(defaultTheme, {
'markdown-alert': {
'font-style': `italic`,
'padding': `1em 1em 1em 2em`,
'border-left': `4px solid var(--md-primary-color)`,
'border-radius': `6px`,
'color': `rgba(0,0,0,0.6)`,
'background': `linear-gradient(to right, #f7f7f7, #ffffff)`,
'box-shadow': `0 4px 6px rgba(0,0,0,0.05)`,
},
'code_pre': {

View File

@ -27,7 +27,7 @@ export default function markedAlert(options: AlertOptions = {}): MarkedExtension
title = ucfirst(variantType),
titleClassName = `${className}-title`,
} = matchedVariant
const typeRegexp = new RegExp(createSyntaxPattern(variantType))
const typeRegexp = new RegExp(createSyntaxPattern(variantType), `i`)
Object.assign(token, {
type: `alert`,