diff --git a/.eleventy.js b/.eleventy.js index d49d1d4..38cf265 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -254,7 +254,7 @@ module.exports = function (eleventyConfig) { let calloutType = ""; let isCollapsable; let isCollapsed; - const calloutMeta = /\[!(\w*)\](\+|\-){0,1}(\s?.*)/; + const calloutMeta = /\[!([\w-]*)\](\+|\-){0,1}(\s?.*)/;; if (!content.match(calloutMeta)) { continue; }