Skip to main content

html_inline

Function html_inline 

Source
pub fn html_inline(source: &str, pieces: &[Segment]) -> String
Expand description

Inline HTML as micromark’s HTML compiler emits it.

The pieces joined with \n, continuation lines minus up to 3 columns of leading whitespace. For the mdast value (what a formatter prints) use Segment::join: it keeps that whitespace.