markdown_builder/
lib.rs

1//! `markdown-builder` helps you to create Markdown documents using Rust code.
2//!
3//! The main API involves around using builders to create structured Markdown
4//! elements that can be combined together into a Markdown document
5
6pub mod builders;
7pub mod traits;
8pub mod transforms;
9pub mod types;
10
11pub use crate::{
12    builders::{image::ImageBuilder, link::LinkBuilder, list::ListBuilder},
13    traits::{AsFooter, MarkdownElement},
14    transforms::{BlockQuote, Bold, CodeBlock, Inline, Italic, Strikethrough},
15    types::{
16        header::{Header, HeaderLevel},
17        image::Image,
18        link::Link,
19        list::{List, ListItem, ListType},
20        markdown::Markdown,
21        paragraph::Paragraph,
22    },
23};