1pub mod diff_renderer;
7pub mod markdown;
8pub mod spinner;
9pub mod streaming;
10pub mod styled;
11pub mod terminal;
12pub mod theme;
13pub mod user_confirmation;
14
15pub use markdown::*;
16pub use spinner::*;
17pub use streaming::*;
18pub use styled::*;
19pub use terminal::*;
20pub use theme::*;
21
22#[cfg(test)]
23mod tests {
24 use super::*;
25
26 #[test]
27 fn test_render_markdown() {
28 let markdown_text = r#"
29# Welcome to VTCode
30
31This is a **bold** statement and this is *italic*.
32
33## Features
34
35- Advanced code analysis
36- Multi-language support
37- Real-time collaboration
38"#;
39
40 render_markdown(markdown_text);
42 }
43}