diff --git a/src/wrap.rs b/src/wrap.rs index 430e4be9..5037a5a7 100644 --- a/src/wrap.rs +++ b/src/wrap.rs @@ -11,14 +11,8 @@ use regex::Regex; mod tokenize; -/// Token emitted by [`tokenize::segment_inline`] and used by higher-level wrappers. -/// -/// Re-export this so callers of [`crate::textproc`] can implement custom -/// transformations without depending on internal modules. -pub use tokenize::Token; -/// Convenience re-export of [`tokenize::tokenize_markdown`]. #[doc(inline)] -pub use tokenize::tokenize_markdown; +pub use tokenize::{Token, tokenize_markdown}; static FENCE_RE: std::sync::LazyLock = std::sync::LazyLock::new(|| Regex::new(r"^\s*(```|~~~).*").unwrap());