You can see the tutorial here. The "footer" option to use summary feature is deprecated since 2.5.0 version and this option is replaced by the "summary" option.
The example code can be slower than your environment because the code is transpiled by babel-standalone in runtime.