diff --git a/inc/config.php b/inc/config.php index 2e14555d..067bc715 100644 --- a/inc/config.php +++ b/inc/config.php @@ -787,6 +787,8 @@ */ $config['markup'] = [ + // Inline dice roll markup. + [ "/!([-+]?\d+)?([d])([-+]?\d+)([-+]\d+)?/iu", fn($m) => inline_dice_roll_markup($m, 'static/d10.svg') ], // "Wiki" markup syntax ($config['wiki_markup'] in pervious versions): [ "/'''(.+?)'''/", "\$1" ], [ "/''(.+?)''/", "\$1" ],