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;
26#[cfg(feature = "tui")]
28pub mod theme_manager;
29pub mod tui;
31pub mod tui_compat;
33pub mod tui_mode;
35pub mod user_confirmation;
37
38pub use git_config::GitColorConfig;
39pub use markdown::*;
40pub use search::*;
41pub use slash::*;
42pub use styled::*;
43pub use terminal::*;
44pub use theme::*;
45pub use theme_config::ThemeConfig;
46#[cfg(feature = "tui")]
47pub use theme_manager::ThemeManager;
48pub use tui::*;
49pub use tui_compat::*;
50pub use tui_mode::*;
51#[cfg(feature = "tui")]
52pub use vtcode_ui::tui::ui::FileColorizer;
53
54#[cfg(test)]
55mod tests {
56 use super::*;
57
58 #[test]
59 fn test_render_markdown() {
60 let markdown_text = r#"
61# Welcome to VT Code
62
63This is a **bold** statement and this is *italic*.
64
65## Features
66
67- Advanced code analysis
68- Multi-language support
69- Real-time collaboration
70"#;
71
72 render_markdown(markdown_text);
74 }
75}