Add history-store example
Fix line-breaks/indentation