pub fn should_render_line(
element: &MarkdownElement,
_idx: usize,
collapse: &CollapseState,
) -> boolExpand description
Check if a line should be rendered based on collapse state. Check if a markdown element should be rendered based on collapse state.
§Arguments
element- The element to check_idx- The index of the element (unused but kept for API compatibility)collapse- The collapse state containing section collapse information
§Returns
true if the element should be rendered.