Skip to main content

bibliography_path

Function bibliography_path 

Source
fn bibliography_path(
    args: &[SetArg],
    span: &SourceSpan,
    diagnostics: &mut Vec<Diagnostic>,
) -> Option<String>
Expand description

Pull the single source path out of the directive arguments. A leading positional string (#bibliography("refs.bib")) or the named path:/src: forms are accepted, mirroring #image(...). Returns None (after emitting a diagnostic) when the path is missing, empty, or not a string.