Skip to main content

reference_append_toc_item

Function reference_append_toc_item 

Source
pub fn reference_append_toc_item(
    output: &mut String,
    label: &str,
    anchor: &str,
) -> bool
Expand description

Appends one table-of-contents item with an escaped anchor target.

§Parameters

§Returns

Returns true when the condition checked by crate::reference::reference_append_toc_item holds and false otherwise.

§Examples

ⓘ
let _result = pharos_runtime_docs::reference::reference_append_toc_item(todo!(), todo!(), todo!());