move source code examples to the top of articles