move docs tooling from JSX in Depth

Also removes the code wrap around the syntax highlighting link.
Make state immutable in tutorial (eek)