Simply place a code block with your formula in your note (such as `dice: XdX`) and in preview mode it will be replaced with the result of the dice rolls. The result can then be re-rolled by clicking ...
Note that for HTML rendered results, you have to add CSS for a better visualization. You may modify one from example/diff-table.css or write your own from zero. If you are okay with the default CSS, ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results