D&D Beyond rollable dice block builder

Generates [rollable]…[/rollable] markup for Encounters / initiative tracker. Official spec (D&D Beyond)

Block type
Attack modifier
Dice notation & button label

You can show spaces in the button (e.g. (2d8 + 2)) while keeping compact notation here. Avoid semicolons inside the button label.

Game log
Advanced

Multiple damage types (e.g. fire + radiant) need separate rollable blocks, each with its own rollDamageType.