1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//! # markdown-ppp
//!
//! Feature-rich Markdown Parsing and Pretty-Printing library.
//!
//! This crate provides comprehensive support for parsing CommonMark + GitHub Flavored Markdown (GFM)
//! and converting it to various output formats including Markdown, HTML, and LaTeX.
/// Fully-typed Abstract Syntax Tree (AST) for CommonMark + GitHub Flavored Markdown.
///
/// The AST module provides a generic AST structure. See [`ast::generic`] for more details.
/// Specialized AST types for element identification.
///
/// This module provides pre-defined specialized versions of the generic AST
/// for element identification scenarios.
///
/// # Available modules
///
/// - `element_id` - Element ID support and related functionality
/// - `type_aliases` - Convenient type aliases for specialized AST types
/// - `utilities` - Helper functions and utilities
/// Markdown parser for CommonMark + GFM.
///
/// Parse Markdown text into an AST using [`parse_markdown`](parser::parse_markdown).
/// Markdown pretty-printer for formatting AST back to Markdown.
///
/// Render AST to Markdown using [`render_markdown`](printer::render_markdown).
/// HTML renderer for converting Markdown AST to HTML.
///
/// Render AST to HTML using [`render_html`](html_printer::render_html).
/// LaTeX renderer for converting Markdown AST to LaTeX.
///
/// Render AST to LaTeX using [`render_latex`](latex_printer::render_latex).
/// Plaintext renderer for converting Markdown AST to plain text.
///
/// Render AST to plaintext using [`render_plaintext`](plaintext_printer::render_plaintext).
/// AST transformation utilities for manipulating parsed Markdown.