1use markdown_composer::{
2 builders::list::ListBuilder, extensions::github::CheckmarkItem, types::markdown::Markdown, Link,
3};
4
5fn main() {
6 let mut md = Markdown::new();
7 for _ in 1..=10 {
8 md.header1("hello").list(
9 ListBuilder::new()
10 .add("first")
11 .add("second")
12 .add(CheckmarkItem {
13 text: "Buy groceries",
14 checked: true,
15 })
16 .ordered(),
17 );
18 let link = Link::builder()
19 .footer(true)
20 .text("Hello")
21 .inlined()
22 .url("https://hello.world")
23 .build();
24 md.link(link);
25 }
26 println!("{}", md);
27}