non-admonition callout fix
This commit is contained in:
1 parent
7c09627df4
commit
1da467d214
2 files changed
+5
-3
No files matched your search
@@ -96,7 +96,7 @@ const calloutMapping: Record<string, keyof typeof callouts> = {
|
||||
|
||||
function canonicalizeCallout(calloutName: string): keyof typeof callouts {
|
||||
let callout = calloutName.toLowerCase() as keyof typeof calloutMapping
|
||||
return calloutMapping[callout]
|
||||
return calloutMapping[callout] ?? calloutName
|
||||
}
|
||||
|
||||
const capitalize = (s: string): string => {
|
||||
|
||||
Reference in new issue
Block a user