Skip to main content

render_block

Function render_block 

Source
pub fn render_block<T>(references: &[T]) -> String
where T: Referable,
Expand description

Render references into the canonical block:

References:
[1] https://example.com/a
[2] https://example.com/b

Returns an empty string when there are no references.