streamdown_core/
lib.rs

1//! Streamdown Core
2//!
3//! This crate provides core types, traits, and error definitions
4//! for the streamdown markdown renderer.
5//!
6//! # Overview
7//!
8//! The core crate contains:
9//! - [`ParseState`] - The main state machine for streaming markdown parsing
10//! - [`Code`], [`ListType`], [`TableState`], [`BlockType`], [`EmitFlag`] - State enums
11//! - [`StreamdownError`] - Error types
12//! - [`Position`], [`Span`] - Source location types
13
14pub mod error;
15pub mod enums;
16pub mod state;
17pub mod types;
18
19pub use error::{Result, StreamdownError};
20pub use enums::{BlockType, Code, EmitFlag, ListType, TableState};
21pub use state::{InlineState, ParseState};
22pub use types::{Position, Span};