Examples
This section contains practical examples demonstrating how to use cmark-writer for various common scenarios. These examples can serve as starting points for your own implementations.
Available Examples
Basic Document
Learn how to create a simple Markdown document with standard elements like headings, paragraphs, and lists.
Tables
Explore how to create and format tables, with support for GFM extensions like column alignment.
GFM Task Lists
See how to implement GitHub Flavored Markdown task lists with checked and unchecked items.
How to Use These Examples
Each example includes:
- Complete code snippets you can copy and use
- Explanation of key concepts
- The expected output
Feel free to adapt these examples to fit your specific requirements.