Update README.md

Get the code out of the function section titles. This should make the anchors
have reasonable ids. Now the definition is shown in a code block after the
title, and it should have proper highlighting now.