Skip to main content

agent_markdown_font_config

Function agent_markdown_font_config 

Source
pub fn agent_markdown_font_config(cx: &App) -> MarkdownFontConfig
Expand description

Builds the font configuration boltz-markdown needs to size/family its text, sourced from this workspace’s theme::theme_settings global (no per-crate settings global exists here — see code_editor.rs’s CODE_FONT_FAMILY module docs for the established stateless-config alternative). Agent/preview font sizes reuse the same UI/buffer sizes, since this workspace has no distinct agent-panel-specific size setting.