Update example and use frontmatter for better UI experience