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