Refine examples and fix multi-line rendering