Skip to main content

to_html_review_blocks

Function to_html_review_blocks 

Source
pub fn to_html_review_blocks(text: &str) -> Vec<(usize, String)>
Expand description

Like to_html_blocks, but splits every list item into its own rendered block. Review pages use this form so every bullet is an independently commentable source line; nested items carry a safe numeric indentation token that the page turns back into their visual nesting.