1pub mod diff_renderer;
8pub mod git_config;
10pub mod markdown;
12pub mod search;
14pub mod slash;
16pub mod styled;
18pub mod syntax_highlight;
20pub mod terminal;
22pub mod theme;
24pub mod theme_config;
26pub mod theme_manager;
28pub mod tui;
30pub mod tui_compat;
32pub mod tui_mode;
34pub mod user_confirmation;
36
37pub use git_config::GitColorConfig;
38pub use markdown::*;
39pub use search::*;
40pub use slash::*;
41pub use styled::*;
42pub use terminal::*;
43pub use theme::*;
44pub use theme_config::ThemeConfig;
45pub use theme_manager::ThemeManager;
46pub use tui::*;
47pub use tui_compat::*;
48pub use tui_mode::*;
49pub use vtcode_ui::tui::ui::FileColorizer;
50
51#[cfg(test)]
52mod tests {
53 use super::*;
54
55 #[test]
56 fn test_render_markdown() {
57 let markdown_text = r#"
58# Welcome to VT Code
59
60This is a **bold** statement and this is *italic*.
61
62## Features
63
64- Advanced code analysis
65- Multi-language support
66- Real-time collaboration
67"#;
68
69 render_markdown(markdown_text);
71 }
72}