How to use nested shortcodes

If you want to use one shortcode inside of another just put it inside another

[box]
   [button] I am button inside of box [/button]
[/box]

If you want to use the same nested shortcodes, then you need to add underscores for each nested shortcode

[spoiler]
   [_spoiler] Hello, I am nested spoiler [_/spoiler]
   [_spoiler] Hello, I am nested spoiler [_/spoiler]
[/spoiler]