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