mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 01:10:51 +01:00
config.php: add inline dice rolling markup support to the default configuration
This commit is contained in:
parent
ad1d56d092
commit
fba88643ec
@ -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):
|
||||
[ "/'''(.+?)'''/", "<strong>\$1</strong>" ],
|
||||
[ "/''(.+?)''/", "<em>\$1</em>" ],
|
||||
|
Loading…
Reference in New Issue
Block a user