Added source code block for pattern pages.