pub struct RenderMarkdownOptions {
pub preserve_code_indentation: bool,
pub disable_code_block_table_reparse: bool,
pub table_max_width: Option<usize>,
pub code_block_weight: CodeBlockWeight,
}Expand description
Options for the markdown rendering pipeline.
Keep field-compatible with the TUI variant vtcode_ui::tui::ui::markdown::RenderMarkdownOptions.
Fields§
§preserve_code_indentation: bool§disable_code_block_table_reparse: bool§table_max_width: Option<usize>Available content width for tables. Headered tables keep a padded, width-aware grid while cells remain readable, then fall back to aligned labeled records when the grid becomes too cramped. Headerless tables retain their grid layout and scale columns to fit. Only effective in TUI mode.
code_block_weight: CodeBlockWeightVisual weight applied to fenced code blocks. Only effective in TUI mode.
Trait Implementations§
Source§impl Clone for RenderMarkdownOptions
impl Clone for RenderMarkdownOptions
impl Copy for RenderMarkdownOptions
Source§impl Debug for RenderMarkdownOptions
impl Debug for RenderMarkdownOptions
Auto Trait Implementations§
impl Forget for RenderMarkdownOptions
impl Freeze for RenderMarkdownOptions
impl RefUnwindSafe for RenderMarkdownOptions
impl Send for RenderMarkdownOptions
impl Sync for RenderMarkdownOptions
impl Unpin for RenderMarkdownOptions
impl UnsafeUnpin for RenderMarkdownOptions
impl UnwindSafe for RenderMarkdownOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more