mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-06 20:55:21 +00:00
Capital callout types should render properly
This commit is contained in:
parent
d386b899a5
commit
8d72161e10
@ -167,7 +167,7 @@ module.exports = function(eleventyConfig) {
|
|||||||
return "";
|
return "";
|
||||||
});
|
});
|
||||||
|
|
||||||
return `<div class="callout-${calloutType} admonition admonition-example admonition-plugin">
|
return `<div class="callout-${calloutType?.toLowerCase()} admonition admonition-example admonition-plugin">
|
||||||
${titleDiv}
|
${titleDiv}
|
||||||
${content}
|
${content}
|
||||||
</div>`;
|
</div>`;
|
||||||
@ -233,4 +233,4 @@ function setAttr(token, attr, value, options) {
|
|||||||
} else {
|
} else {
|
||||||
token.attrs[idx][1] = value
|
token.attrs[idx][1] = value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user